Posts

URL scheme to search with other search engines in Safari on iOS

Could be used in for example a shortcut or an x-callback-url , but it isn't possible to use directly from Safari's location bar. Replace SEARCH_ENGINE with either google , bing , duckduckgo , yahoo , ecosia or wikipedia (other names might work too) and SEARCH_TERM with your search words (needs to be URL encoded). x-web-search://SEARCH_ENGINE/?SEARCH_TERM

URL scheme for going directly to your last photo in Photos app on iOS and macOS

There's no Shortcuts action to open your most recent photo in Photos app, but it's possible to do by using this URL. For it to work as expected, though, your photo library needs to be sorted by Recently Added and not by Date Captured . photos://lastasset

Bookmark Checker — quickly check if the current Safari webpage is bookmarked

A shortcut for iOS and macOS that looks for the current URL in your bookmarks and presents the result. Finds variant URLs that ends/doesn't end with a "/" or a "#" string (hash/URI fragment), and also URLs with the same title — useful for example when the URL has been changed since the page was bookmarked (not available in clipboard/manual mode). You can run the shortcut either from the current web page's share menu, or as a standalone shortcut. Due to limitations on iOS, it's not possible to detect the current URL if you run the shortcut standalone, but you can instead use the first URL that's found in your clipboard or enter a URL manually. On macOS, the shortcut automatically switches to clipboard/manual mode when the current tab is the start page, history page or the bookmarks editor page. Works great from Spotlight on macOS 26, where it's now also possible to assign quick keys to your shortcuts. The shortcut has been updated, so when ...

Custom Font Installer — install fonts on iOS using a shortcut

A shortcut for iOS that let's you install your own fonts, in either OTF or TTF format. Very few apps let's you actually choose custom-installed fonts, though, with the exception of e.g. Pages and Word. You can view or delete the installed fonts under Configuration Profiles in Settings > General > VPN & Device Management. * Download shortcut (last updated 2025-07-23 13:12 UTC) * Custom-installed fonts won't appear in Settings > General > Fonts > My Fonts, since this page is only for fonts that have been installed from Settings > General > Fonts > More Fonts.

Everything Extractor — shortcut for iOS and macOS to extract virtually any format

Extracts DMG, 7z, RAR, PKG, ISO, APFS, HFS and virtually any other archive or disk image format. For full functionality, the app Unarchiver (by Astroweather ) is required, which is free on iOS and costs 99 cents on macOS. Download shortcut (last updated 2025-07-23 13:47 UTC) Without Unarchiver installed, the following formats are supported: 7z ( .7z ), bzip2 ( .bz2 ), cpio ( .cpio ), GNU Zip ( .gz ), Macintosh Installer ( .pkg ), RAR ( .rar ), tar ( .tar ), tar+bzip2 ( .tbz2 , .tar.bz2 ), tar+GNU Zip ( .tgz , .tar.gz ), tar+xz ( .txz , .tar.xz ), xz ( .xz ) and ZIP ( .zip ) Files with the following extensions are supported with Unarchiver installed: .001 .7z .a .apfs .apk .apm .appx .ar .arj .avhdx .b64 .bz2 .bzip2 .cab .chi .chm .chq .chw .cpio .cramfs .deb .dll .dmg .doc .docx .elf .epub .esd .exe .ext .ext2 .ext3 .ext4 .fat .flv .gpt .gz .gzip .hfs .hfsx .hxi .hxq .hxr .hxs .hxw .ihex .img .ipa .iso .jar .lha .lib .lit .lp .lzh .lzma .lzma86 .macho .mbr .msi .mslz .msp .mub ....

Copy to clipboard button for Google Drive files

An alternative to the Google Drive file viewer that's more suitable for displaying code and text files, with a Copy to clipboard button as well — great when using mobile devices that only offer Select All functionality for editable text. Go to Apps Script in your Google account Click New project in the upper left corner In the code editor, replace everything with the following: function doGet(e) { const id = "FILE_ID"; const file = DriveApp.getFileById(id); const contents = file.getBlob().setContentType("text/plain").getDataAsString(); const html = `<!DOCTYPE html> <html> <head> <base target="_top"> <style> :root { color-scheme: light dark; } pre { overflow-wrap: break-word; white-space: pre-wrap; } </style> </head> <body> <button id="copy">Copy to clipboard...

How to always  open tabs to the immediate right of the current tab in Safari for macOS

Here's how you can fix the chronic pain in the neck tab position behaviour in Safari for macOS, where new tabs sometimes opens next to the current tab, sometimes an unknown number of tabs to the right and sometimes at the end of the entire tab bar — you never know where they end up. For tabs opened from links Open Terminal and run the following commands: defaults write com.apple.safari WBSNewTabPositionPreferenceKey -int 0 defaults write com.apple.safari WBSNewTabPositionAppliesToSpawnedTabsPreferenceKey -int 1 Then restart Safari (and in case you haven't configured Safari to automatically reopen previous windows, click Reopen All Windows from Last Session under History in the menu bar). To revert to default: defaults delete com.apple.safari WBSNewTabPositionPreferenceKey defaults delete com.apple.safari WBSNewTabPositionAppliesToSpawnedTabsPreferenceKey For new blank tabs Unfortunately the above settings don't apply to new blank tabs, so a workaround is r...

Run Python code in Shortcuts app without relying on apps or APIs

Simple shortcut that let's you enter some Python code, then executes the code and displays the output. Makes use of the Pyodide JavaScript library (v0.28.0). This means you need an internet connection the first time you run it, but since the library is cached (not sure for how long), it's possible to use offline too. Installing packages with micropip or loadPackage currently doesn't work due to some unidentified bug or limitation in Shortcuts app. Download shortcut (last updated 2025-07-18 08:38 UTC)

Deep-links to almost every Safari setting on iOS

More than 50 prefs: URLs to most of the subpages, buttons, switches and sections in the Safari settings pages on iOS. A few of them only works on specific devices. The URLs were mostly found by examining iOS system files and the rest through guesswork or trial and error. Allow Safari to access > Siri (page) prefs:root=SAFARI&path=SIRI Allow Safari to access > Search (page) prefs:root=SAFARI&path=SEARCH Default Browser App (page) N/A Preferred Language > Language (page) prefs:root=SAFARI&path=PREFERRED_LANGUAGE Search > Search Engine (page) prefs:root=SAFARI&path=SEARCH_ENGINE_SETTING Search > Also Use in Private Browsing (switch) N/A Search > Search Engine Suggestions (switch) prefs:root=SAFARI#SEARCH_SUGGESTION_SETTING Search > Safari Suggestions (switch) prefs:root=SAFARI#SIRI_SUGGESTIONS Search > Quick Website Search (page) prefs:root=SAFARI&path=SITE_SPECIFIC_SEARCH Search > Preload Top Hit (switch) prefs:ro...

Current Wi-Fi network URL schemes for iOS and macOS

These URLs take you to the page that opens when you press the ⓘ button on iOS or the Details… button on macOS, next to the current network in [System] Settings > Wi-Fi , where you can configure various advanced settings or view details about the network. iOS: prefs:root=WIFI&path=NetworkDetails macOS: x-apple.systempreferences:com.apple.wifi-settings-extension?NetworkDetails

Shortcut to download the stock wallpapers for every macOS release

Get 161 beautiful wallpapers with this shortcut for iOS and macOS, that downloads all the stock wallpapers included with the current and all previous versions of macOS, directly from Apple's website. Since the wallpapers have a nearly square aspect ratio, they're perfectly suitable for iPhones, iPads etc. as well. The original files are losslessly compressed, so it takes a few minutes to download and convert everything to lossy JPEG files. Download shortcut (last updated 2025-07-23 13:24 UTC)

Multi-line, full URL location dialog — instead of single-line bar — in any web browser

Use this bookmarklet if you like to see the entire URL, instead of maybe only 5 or 10 characters of it, whenever you feel like editing or viewing the current webpage URL. "> View on GitHub (last updated 2025-08-14 11:51 UTC)

Shortcut to extract all individual images from multi-image HEIC files on iOS and macOS

A shortcut for iOS and macOS that can for example be used to extract all the individual images from Apple's multi-image wallpaper files. Can also be used to batch convert both single-image and multi-image HEIC files to JPEG. There doesn't seem to be any app on the App Store that's able to extract more than the first image from multi-image HEIC files. Same situation with the Convert Image action in Shortcuts app. There's also a Get Frames from Image action, but that's only for animated GIF and photo burst files, according to the description. It actually accepts HEIC files as well, but unfortunately only the main image get's extracted with this one too. Turns out, though, that you can trick it to extract the others too, by just changing the image's file extension to gif (and luckily, the extracted images aren't reduced to GIF level quality, despite the troubling extension name). Download shortcut (last updated 2025-07-24 05:37 UTC)

URL scheme for viewing currently stored website data on iOS Safari

If you want to view or delete website data for specific sites in Safari on iOS, use the following URL to get directly to the page you finally arrive on after locating the Website Data button somewhere on the page you opened after locating the Advanced button somewhere on the page you opened after locating the Safari button somewhere on the page you opened after locating the Apps button somewhere on the Settings main page: prefs:root=SAFARI&path=ADVANCED/REMOVE_WEBSITE_DATA

Quickly take a screen snapshot of only the current window on macOS

A shortcut that simply takes a snapshot of the current app's frontmost window and copies it to the clipboard. To assign a keyboard shortcut it, open the shortcut in Shortcuts app, click ⓘ in the sidebar, then the Add Keyboard Shortcut button, then press your keyboard combination. You have to wait some time for the keyboard shortcut to be activated systemwide (less than a minute), but if you restart the app you want the window snapshot from, it will work immediately. Download shortcut (last updated 2025-07-24 07:37 UTC)

Web inspector and console bookmarklet that bypasses CSP

Great when you're on iOS or Android and don't want to connect your device to a computer to have this functionality. Works on most CSP-restricted pages, except pages with maximum security policies like github.com and developer.mozilla.org . The bookmarklet contains the entire Eruda JavaScript library ( v3.4.3 ) as a base64-encoded string in order to bypass the script-src-elem CSP restrictions. "> View on GitHub (last updated 2025-07-18 08:21 UTC)

Another way to execute JavaScript code natively in Shortcuts, besides using data: URLs

This method also executes the code in a secure context unlike the data: URL method — letting you take advantage of several features that otherwise aren't available. 1. Inside a Text action, create an HTML document containing script code that writes its output to a visible element 2. Either convert the document with Make Rich Text from HTML or use Set Name and give it a name with html as extension e.g. index.html (same result with these actions) 3. Convert this to PDF with the Make PDF action — this is the action that executes the JavaScript code 4. Extract the text from the PDF — for short output you can use Get Text from Input , but if the length of the output causes multiple PDF pages being made, you'll be asked to choose which page — If so, extract the text with Combine Text instead. Empty lines aren't preserved with these actions though (probably a bug), but you can use Make Markdown from Rich Text as a workaround, which both preserves empty lines (not re...

Python dialog box bookmarklet — execute Python code in your current web browser tab

With this bookmarklet you can run Python code inside a dialog box on the web page you're currently viewing. Powered by the Pyodide JavaScript library (v0.27.6). Works on most pages, but not on pages with very strict content security policies. "> View on GitHub (last updated 2025-08-14 12:54 UTC)

Spoof user agent bookmarklet

Let's you edit the user agent for the page you are viewing, then the page is reloaded with the user agent you entered. Doesn't work on every site (DuckDuckGo, for example) and stops working as soon as you navigate away from the page. Some sites may use other detection methods so they still see the real user agent. Tested to work on iOS browsers and macOS Safari, but doesn't work in Google Chrome on any platform, because of restrictions with regards to setting the user agent. View on GitHub (last updated 2025-08-14 12:59 UTC)

URL scheme for Phone app's dial pad on iOS

This URL takes you to directly to the Phone app's dial pad/number keypad on iOS. Could for example be used in a shortcut that copies a GSM code to the clipboard, opens the keypad URL and (since there doesn't seem to be any way to include the number/code in the URL) instructs you to paste and then press the Call button. mobilephone-keypad://

Extract iOS backups using stock macOS Terminal commands only

It isn't really necessary to use an advanced application to extract iOS backups, since the backups are basically just copies of files on the iOS file system that have been renamed to unique file IDs which are stored in a database (Manifest.db). With the Terminal commands below, you can extract files from unencrypted backups and rename them to their original iOS names. First, go to the backup folder: cd ~/Library/Application\ Support/MobileSync/Backup/ Next, locate one of the directories with a 25-character long hexadecimal name that contains a Manifest.db file and lots of 2-character subdirectories and then: cd NAME_OF_DIR Some example commands: Get an overview of all the domains in the backup: sqlite3 -csv Manifest.db "select domain from Files" | uniq | less In the following example, the backup files are extracted as APFS file clones (similar to symlinks), but since it would take a very long time to extract all files in the backup (somewhere around 1 or 2 hou...