mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 07:27:48 +01:00
Fix-update La Stampa
This commit is contained in:
parent
e788fa8f97
commit
7844435803
4 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -485,5 +485,5 @@
|
|||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.1.1.2"
|
||||
"version": "2.1.1.3"
|
||||
}
|
Loading…
Reference in a new issue