Fix-update La Stampa

This commit is contained in:
magnolia1234 2021-06-10 07:30:25 +02:00
parent 73bcd7ccd2
commit 032c9166a6
3 changed files with 4 additions and 3 deletions

View file

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release Post-release
Fix-update Atlantico.fr Fix-update Atlantico.fr
Fix-update La Stampa
Fix-update Medium/Towards Data Science (multimedia) Fix-update Medium/Towards Data Science (multimedia)
* v2.2.4.0 (2021-06-06) * v2.2.4.0 (2021-06-06)

View file

@ -1030,8 +1030,8 @@ else if (matchDomain('rep.repubblica.it')) {
} }
else if (domain = matchDomain(it_repubblica_domains)) { else if (domain = matchDomain(it_repubblica_domains)) {
let url = window.location.href; let url = window.location.href.split('?')[0];
if (!url.includes('/amp/')) { if (!url.match(/\amp(\/)?$/)) {
let premium = document.querySelector('.paywall-adagio, #paywall'); let premium = document.querySelector('.paywall-adagio, #paywall');
if (premium) { if (premium) {
removeDOMElement(premium); removeDOMElement(premium);

View file

@ -524,5 +524,5 @@
"*://*.wallkit.net/*", "*://*.wallkit.net/*",
"*://*.wsj.net/*" "*://*.wsj.net/*"
], ],
"version": "2.2.4.2" "version": "2.2.4.3"
} }