Archive.is Checker Bookmarklet

You,Freedom

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)

  1. Drag this --> Archive.is Checker (opens in a new tab) <-- button to your bookmarks bar.
  2. While on any paywalled news site, click the bookmark.
  3. In a second or two, you'll magically see the paywall free archive.is version.

Detailed Install

To install the bookmarklet, follow these steps:

  1. Create a new bookmark in your browser.
  2. Name it "Check Archive.is" (or any name you prefer).
  3. 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);});})();
  1. Save the bookmark.

How to Use

  1. Navigate to any webpage you want to check for an archived version.
  2. Click the "Check Archive.is" bookmarklet in your bookmarks bar.
  3. If an archived version exists, your browser will navigate to it automatically.
  4. If no archived version is found, you'll see an alert message.

What This Bookmarklet Does

This bookmarklet performs the following actions:

  1. Gets the URL of the current page you're viewing.
  2. Sends a request to Archive.is to check if an archived version exists.
  3. If an archived version is found, it redirects you to that archived page.
  4. 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