-
-
Save kamysheblid/7d185f398f425a8dd6c60252ff0f0f2e to your computer and use it in GitHub Desktop.
// ==UserScript== | |
// @name Stop the Medium The Pay Wall | |
// @namespace StopThePayWall | |
// @version 1 | |
// @include *medium* | |
// @include *datascience* | |
// ==/UserScript== | |
async function abc () { | |
var resp = (await fetch(location, { "credentials": "omit", "headers": { "Accept": "text/html,text/xhtml,text/xml,*/*", "Connection": "keep-alive", }, "method": "GET", "mode": "cors" })); | |
var text = await resp.text(); | |
return await text; | |
}; | |
async function changeBody() { | |
var a = await abc(); | |
document.body.innerHTML = a; | |
}; | |
window.onload = changeBody() |
@ZhymabekRoman Thanks for this service buddy, can you make it in such a way that we can use libredirect to redirect directly to medium page through your freedium instance and can u make code open source so that maybe someone can help you in this
@shwetkanwal24, can you explain more details? I can't understand wdym. Also code is opensource: https://github.com/Freedium-cfd
This is what I use now and it works very well for me:
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean
I havent used this, but this is for chrome:
https://github.com/iamadamdev/bypass-paywalls-chrome
Unfortunately sometimes not works.
Unfortunately, sites that allow you to bypass paid articles like 12ft.io no longer work, Medium has changed the logic of how they generate access. I have written some open source workaround for the new Medium restriction: https://freedium.cfd
Dude, you nailed it. Thanks a lot!!
Unfortunately, sites that allow you to bypass paid articles like 12ft.io no longer work, Medium has changed the logic of how they generate access. I have written some open source workaround for the new Medium restriction: https://freedium.cfd