javascript:location.href='https://archive.is/?run=1&url=%27+encodeURIComponent(document.location)
Other bookmarklet examples (12ft, Google Cache): javascript:location.href='https://12ft.io/proxy?q=%27+encodeURIComponent(document.location)
javascript:location.href='https://webcache.googleusercontent.com/search?q=cache:%27+location.href;{}Personally, I have been using this variant:
javascript:location.href = '//archive.ph/newest/' + location.href.split('?')[0];I was tired of copying and pasting when I wanted to use the Archive service on HN articles, so here you go!
I’ve been using a homemade Shortcut for the same purpose. They’re great when you want a bit of control over such things. For example, expanding the url (following all redirects) before sending it to archive.ph/md/is, 12ft.io, or Reading List, etc. It’s very annoying having t.co urls in Reading List in particular.
You can edit the resulting url before opening it or copying it, and choose between archive.ph, .md, etc. Editing is useful if you want to get rid of utm_source arguments, etc.
Apple’s Shortcuts is just a hodgepodge of built in functions, the best way to learn is just to try build something like this. You’ll be searching a few times for the little function you want until you find the right name for it. As far as discoverability goes, it’s OK, gets the job done. Naming things is weird too — let’s say you make a Text block, then you can only seem to name it when you reference it elsewhere (Select Magic Variable, scroll and tap it, then highlight it and Rename from the menu).
This explains the behavior folks are commenting on here where it appears not to work.
Just tried it at Bloomberg.com and wsj.com -- it redirected me to https://archive.ph/ and then again to https://archive.ph/
I'm on latest iOS.
If this is not what you are seeing, please open an issue on the github at: https://github.com/gnormandin/Archive-Page/issues
So I can keep track of issues encountered.
Thanks!
Settings > Safari > Extensions > Archive Page > All Websites > Allow
javascript: (function() {(function(){var url =window.location.href; let newUrl
="https://archive.ph/submit/?url="+encodeURIComponent(url.split('?')[0]);
window.open(newUrl, "_self");})()})()There is a reason why most Safari extensions apps do not just show an icon and a label, but actually explain how to use their embedded extensions.