Skip to content

Bookmarklet code that can be used to view Medium articles for free

Notifications You must be signed in to change notification settings

Drew-Daniels/freemedium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Free Medium

Simple JS program that will prompt you for the URL of a Medium (or any other paywalled) article you would like to read, which will then direct you to a page where you can view the contents of the article for free.

Steps to create the Bookmarklet

  1. Copy the contents of dist/index.js
  2. In a Browser, create a new Bookmark
  3. In the Bookmark form, first enter:
javascript: (() => {})();
  1. In the function block ({}), paste in the code you copied from dist/index.js
  • Note: Do not add any newlines, this program must fit onto one line to be valid
javascript: (() => {const medUrl=prompt("Input the Medium Article URL you would like to view");const googCacheUrl="https://webcache.googleusercontent.com/search?q=cache:";let fullUrl="";if(medUrl){fullUrl=googCacheUrl+medUrl;location.assign(fullUrl)})();
  1. Save the bookmark

Steps to run the Bookmarklet

  1. Click on your Bookmarklet
  2. When prompted, enter the URL of the Medium article you want to view (Ex., https://medium.com/@achillesmoraites/serve-a-react-app-with-express-server-c5986769bac)

Paywalled article

Unblocked article

  1. See that you get redirected to a page that looks like this:

Google cache page

  1. Click "Text-only version"

  2. See the full article is displayed (without pictures)

Unblocked article

Extras

  • You can create a URL searchbar shortcut like "fm" that will activate this shortcut when typed.

About

Bookmarklet code that can be used to view Medium articles for free

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published