-
-
Save morisono/291509679858bbb76c06d8ccd6c135f5 to your computer and use it in GitHub Desktop.
Bypass Medium Paywall - Working late 2023 - Greasy Fork, Violentmonkey, Tampermonkey - Click the RAW button to install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Medium Paywall Bypass | |
| // @namespace Violentmonkey Scripts | |
| // @match *://*.medium.com/* | |
| // @match *://medium.com/* | |
| // @match *://*/* | |
| // @grant none | |
| // @version 1.2 | |
| // @updateURL https://gist.github.com/mathix420/e0604ab0e916622972372711d2829555/raw/medium.user.js | |
| // @downloadURL https://gist.github.com/mathix420/e0604ab0e916622972372711d2829555/raw/medium.user.js | |
| // @website https://freedium.cfd | |
| // @author Mathix420, ZhymabekRoman | |
| // @description Don't forget to remove `@match` filters you don't want. | |
| // ==/UserScript== | |
| (function () { | |
| // To allow seeing original articles that were already redirected to freedium. | |
| if (window.location.href.endsWith('#bypass')) { | |
| return; | |
| } | |
| const mediumPostUrlProperty = document.head.querySelector('meta[property="al:android:url"]') | |
| if ((mediumPostUrlProperty || {}).content && mediumPostUrlProperty.content.includes('medium://p/')) { | |
| window.location.href = 'https://freedium.cfd/' + window.location.href; | |
| } | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment