How to Use JavaScript When Creating Shortcuts

· · Link

Redditor u/keveridge put together a nice guide on how to use JavaScript when creating Shortcuts. JavaScript lets you perform complex actions that would be hard to do with regular shortcut actions.

We make use of the Safari web browser, running within the shortcut, in order to execute the JavaScript. To do so, we:

  • make an HTML file that contains our code and provides an output;

  • pass the contents of the file to Safari as a Data URL;

  • use Get Contents of Web Page to render the page provide the output to the shortcut.

Long Press Shortcuts for iOS Safari

· · Link

I’ve covered iOS 12 tips and tricks that you might have forgotten. Now I’d like to resurface a tip from 2017 about shortcuts for iOS Safari.

You might not know it, but Safari has some hidden shortcuts tucked behind some of the icons. This will let you perform certain actions a little faster, like quickly access the desktop version of a website, add a bookmark, and even close multiple tabs at once.

Here's a Wallpaper Generator Shortcut For Those Apple Logos

· · Cool Stuff Found

Redditor u/wexford001 made a neat wallpaper generator shortcut. It uses the Apple logos (all 370 of them) that Apple created for tomorrow’s event. Every time you tap the shortcut it generates a random image based on your device. There are both white and black versions, in case you have an iPhone with an OLED screen.

All the code to actually get the image from imgur was the work of u/hinapupina in his “imgur downloader” shortcut. I modified it a bit, but i don’t understand it well enough to have done this on my own. Thanks!

You can download the shortcut for white wallpapers here, and the black version here.

Here’s a Wallpaper Generator Shortcut For Those Apple Logos

How to Add Application Shortcuts to Finder Windows

· · Quick Tip

If you want quick access to an application on your Mac, you could put it in your Dock, of course, or you could get to it using Spotlight. But in case you didn’t know, program shortcuts can also go into the toolbar within Finder, and this can be pretty handy for your most-used apps! That’s the subject of today’s Quick Tip.

iOS: Long Press Icons For Safari Shortcuts

· · How-To

Safari Address Bar Tip

You might not know it, but Safari has some hidden shortcuts tucked behind some of the icons. This will let you perform certain actions a little faster. Safari shortcuts will save you plenty of time. Andrew tells us how he discovered these shortcuts by accident.