Skip to main content
medmunds's user avatar
medmunds's user avatar
medmunds's user avatar
medmunds
  • Member for 9 years, 10 months
  • Last seen more than a month ago
comment
How to change the url of a Chrome app shortcut?
Also, btw, you can use your Google account's email address in place of the number in the /u/1 part of Google urls (e.g., /calendar/u/[email protected]/r). Google will redirect to the correct /u/N for that email. (The numbers can change depending on the order you log into your Google accounts.)
comment
How to change the url of a Chrome app shortcut?
I couldn't get Chrome Local Overrides to work—the shortcut always seemed to use my default Calendar account. But I was able to use a variation of the original solution to copy the whole manifest into a data uri: $el=document.head.querySelector("link[rel=manifest]"), mf=await fetch($el.href).then(r=>r.json()), mf.start_url=startUrl, $el.href=`data:application/manifest+json,${encodeURIComponen‌​t(JSON.stringify(mf)‌​)}` (ignore invalid manifest url/scope warnings), and then create shortcut. (And it seems no need for TrustedHTML if modifying existing element?)
awarded
awarded
awarded
awarded
awarded
comment
Open Preference Pane from command line on El Capitan (Mac OS X 10.11)
Per this, "Apple has restricted use of the URL scheme in 10.11", which is why it won't go to a specific pane any more.
awarded
comment
How can I access the remote clipboard when Screen Sharing into a Linux system
More info about enabling clipboard via vncconfig in Superuser StackExchange: superuser.com/questions/376877/…. Also vncconfig+autocutsel in Unix StackExchange: unix.stackexchange.com/a/35046.
awarded
Loading…
comment
Is there a way to detect what program is stealing focus on my Mac?
Nice! For me, it was Google Drive.app. I did a slight update to your script which I'll post in a separate answer. Thanks!
awarded
awarded