Fix-update La Stampa

This commit is contained in:
magnolia1234 2021-03-10 07:46:28 +01:00
parent e788fa8f97
commit 7844435803
4 changed files with 5 additions and 2 deletions

View file

@ -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;

View file

@ -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)

View file

@ -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');

View file

@ -485,5 +485,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.1.1.2"
"version": "2.1.1.3"
}