diff --git a/background.js b/background.js index b60221f9..b178df96 100644 --- a/background.js +++ b/background.js @@ -4,7 +4,7 @@ var ext_api = (typeof browser === 'object') ? browser : chrome; var ext_name = ext_api.runtime.getManifest().name; -const cs_limit_except = ['inkl.com', 'la-croix.com', 'nation.africa', 'newleftreview.org']; +const cs_limit_except = ['faz.net', 'inkl.com', 'la-croix.com', 'nation.africa', 'newleftreview.org']; var currentTabUrl = ''; var csDone = false; diff --git a/changelog.txt b/changelog.txt index a882d462..4df839b3 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Fix-update Gannett Group (identify on xhr only) +Fix-update La Stampa *v2.1.1.2 (2021-03-09) Add Newsday (local USA) diff --git a/contentScript.js b/contentScript.js index 064ec7b9..44d7c878 100644 --- a/contentScript.js +++ b/contentScript.js @@ -271,6 +271,8 @@ else if (domain = matchDomain(it_repubblica_domains)) { let premium = document.querySelector('.paywall-adagio'); removeDOMElement(premium); window.setTimeout(function () { + if (premium && (domain === 'lastampa.it')) + window.location.href = url.split('?')[0] + '/amp/'; let article_body = document.querySelector('div#article-body[style]'); if (article_body) article_body.removeAttribute('style'); diff --git a/manifest.json b/manifest.json index 93e7e118..3c5f04f8 100644 --- a/manifest.json +++ b/manifest.json @@ -485,5 +485,5 @@ "*://*.wallkit.net/*", "*://*.wsj.net/*" ], - "version": "2.1.1.2" + "version": "2.1.1.3" } \ No newline at end of file