Fix-update La Stampa

This commit is contained in:
magnolia1234 2021-06-10 07:29:52 +02:00
parent fa3eb8e6f1
commit 1bbe7ce543
4 changed files with 5 additions and 4 deletions

View File

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Chrome
Post-release
Fix-update Atlantico.fr
Fix-update La Stampa
Fix-update Medium/Towards Data Science (multimedia)
* 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)) {
let url = window.location.href;
if (!url.includes('/amp/')) {
let url = window.location.href.split('?')[0];
if (!url.match(/\amp(\/)?$/)) {
let premium = document.querySelector('.paywall-adagio, #paywall');
if (premium) {
removeDOMElement(premium);

View File

@ -30,5 +30,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "2.2.4.2"
"version": "2.2.4.3"
}

View File

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