TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

I ported the Firefox Archive.today extension to Safari

121 pointsby codingpanicabout 2 years ago

13 comments

therealmarvabout 2 years ago
You don&#x27;t need an extension for that and allow questionable privacy settings like &quot;access to all websites&quot;. Just use a bookmarklet (create a new bookmark e.g. in your top bar and add this code as URL):<p><pre><code> javascript:location.href=&#x27;https:&#x2F;&#x2F;archive.is&#x2F;?run=1&amp;url=%27+encodeURIComponent(document.location) </code></pre> Other bookmarklet examples (12ft, Google Cache):<p><pre><code> javascript:location.href=&#x27;https:&#x2F;&#x2F;12ft.io&#x2F;proxy?q=%27+encodeURIComponent(document.location) javascript:location.href=&#x27;https:&#x2F;&#x2F;webcache.googleusercontent.com&#x2F;search?q=cache:%27+location.href;{}</code></pre>
评论 #35525839 未加载
评论 #35526268 未加载
评论 #35525580 未加载
codingpanicabout 2 years ago
Finally published my first anything on the Apple AppStore by porting the Archive.Today extension to Safari. Works on iPad, iPhone, and Mac.<p>I was tired of copying and pasting when I wanted to use the Archive service on HN articles, so here you go!
评论 #35524724 未加载
dundariousabout 2 years ago
Congrats to the author.<p>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&#x2F;md&#x2F;is, 12ft.io, or Reading List, etc. It’s very annoying having t.co urls in Reading List in particular.
评论 #35529462 未加载
js2about 2 years ago
Note: you have to both enable the extension and set its permissions for &quot;All Websites&quot; to &quot;Allow&quot;. If you have its permissions set to &quot;Ask&quot; then it will take you to archive.ph but not actually load the current tab&#x27;s URL.<p>This explains the behavior folks are commenting on here where it appears not to work.
评论 #35525092 未加载
Tempest1981about 2 years ago
Thank you!<p>Just tried it at Bloomberg.com and wsj.com -- it redirected me to <a href="https:&#x2F;&#x2F;archive.ph&#x2F;" rel="nofollow">https:&#x2F;&#x2F;archive.ph&#x2F;</a> and then again to <a href="https:&#x2F;&#x2F;archive.ph&#x2F;" rel="nofollow">https:&#x2F;&#x2F;archive.ph&#x2F;</a><p>I&#x27;m on latest iOS.
评论 #35524833 未加载
Sporktacularabout 2 years ago
Thank you. Nice to see some love given to Safari.
xyloabout 2 years ago
Here&#x27;s my bookmark that works on Web, iOS, iPad<p><pre><code> javascript: (function() {(function(){var url =window.location.href; let newUrl =&quot;https:&#x2F;&#x2F;archive.ph&#x2F;submit&#x2F;?url=&quot;+encodeURIComponent(url.split(&#x27;?&#x27;)[0]); window.open(newUrl, &quot;_self&quot;);})()})()</code></pre>
pbj1968about 2 years ago
Maybe include some more verbose instructions on the screen that displays on my iPad when I attempt to open the app. Following instructions from other posters on this thread has it working beautifully. Thanks!
评论 #35526079 未加载
KiDDabout 2 years ago
It isn’t loading the website url into the archive search
评论 #35525954 未加载
louhikeabout 2 years ago
Is it region lock? I cannot access the page from France.
评论 #35525034 未加载
marbanabout 2 years ago
Surprised that this sailed through MAS&#x27;s review.
LeoNatan25about 2 years ago
It only redirects to the Archive homepage.
评论 #35527800 未加载
评论 #35524843 未加载
brainzapabout 2 years ago
thank you