Fix-update Medium custom domains (meter)

This commit is contained in:
magnolia1234 2021-02-08 22:08:10 +01:00
parent 7f27f70f69
commit 0263cc6758
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Fix-update Cors Anywhere (link to allow access)
Fix-update Medium custom domains (meter)
* v2.0.7.0 (2021-02-07)
Add Diario de Ibiza/Mallorca, Faro de Vigo & La Provincia (Spain)

View file

@ -407,7 +407,7 @@ else if (matchDomain("bloombergquint.com")) {
removeDOMElement(articlesLeftModal, paywall);
}
else if (matchDomain(["medium.com", "towardsdatascience.com"])) {
else if (matchDomain(["medium.com", "towardsdatascience.com"]) || document.querySelector('script[src^="https://cdn-client.medium.com/"]')) {
let paywall = document.querySelector('div#paywall-background-color');
removeDOMElement(paywall);
if (paywall)