Archive.is Checker Bookmarklet
News sites are putting too much critical information behind a paywall. This often prevents critical information from getting out to the citizenry. Archive.is is a great site for getting past a paywall, but it involved a few steps. That's why I made this bookmarklet. It will check for an archived version of any paywalled news article. Super handy.
Quick Install (if you don't care how it works)
- Drag this --> Archive.is Checker (opens in a new tab) <-- button to your bookmarks bar.
- While on any paywalled news site, click the bookmark.
- In a second or two, you'll magically see the paywall free archive.is version.
Detailed Install
To install the bookmarklet, follow these steps:
- Create a new bookmark in your browser.
- Name it "Check Archive.is" (or any name you prefer).
- Copy the following code and paste it into the URL or location field of the bookmark:
javascript:(function(){var url=encodeURIComponent(window.location.href);var archiveUrl='https://archive.is/submit/?url='+url;fetch(archiveUrl,{method:'GET',redirect:'manual'}).then(response=>{if(response.type==='opaqueredirect'){return fetch(archiveUrl,{method:'GET'});}else{throw new Error('No archived version found');}}).then(response=>{window.location.href=response.url;}).catch(error=>{alert('No archived version found or an error occurred: '+error.message);});})();
- Save the bookmark.
How to Use
- Navigate to any webpage you want to check for an archived version.
- Click the "Check Archive.is" bookmarklet in your bookmarks bar.
- If an archived version exists, your browser will navigate to it automatically.
- If no archived version is found, you'll see an alert message.
What This Bookmarklet Does
This bookmarklet performs the following actions:
- Gets the URL of the current page you're viewing.
- Sends a request to Archive.is to check if an archived version exists.
- If an archived version is found, it redirects you to that archived page.
- If no archived version is found, it displays an alert message.
Privacy and Security Note
This bookmarklet runs entirely in your browser and doesn't send any data to third parties other than Archive.is. However, be aware that using this bookmarklet will send the URL of the page you're viewing to Archive.is.
Compatibility
This bookmarklet uses modern JavaScript features and should work in most up-to-date browsers. If you experience any issues, please ensure your browser is updated to the latest version.
Responsible Use
Please use this bookmarklet responsibly. Excessive or rapid use may put unnecessary load on Archive.is servers. Be respectful of their service and consider their terms of use.
© Chris Stanchak.RSS