mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-04 12:00:10 +00:00
Fix-update LesEchos.fr (timing/banners)
Plus only block TinyPass subdomain
This commit is contained in:
parent
c1fd93cbf8
commit
53fc79adcb
@ -177,24 +177,24 @@ var blockedRegexes = {
|
||||
'adweek.com': /.+\.lightboxcdn\.com\/.+/,
|
||||
'afr.com': /afr\.com\/assets\/vendorsReactRedux_client.+\.js/,
|
||||
'alternatives-economiques.fr': /.+\.poool\.fr\/.+/,
|
||||
'americanbanker.com': /.+\.tinypass\.com\/.+/,
|
||||
'americanbanker.com': /cdn\.tinypass\.com\/.+/,
|
||||
'barrons.com': /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/,
|
||||
'belfasttelegraph.co.uk': /cdn\.flip-pay\.com\/clients\/inm\/flip-pay\.js/,
|
||||
'bizjournals.com': /(assets\.bizjournals\.com\/static\/js\/app\/cxense\.js|cdn\.cxense\.com\/.+)/,
|
||||
'bloomberg.com': /.+\.tinypass\.com\/.+/,
|
||||
'bloomberg.com': /cdn\.tinypass\.com\/.+/,
|
||||
'bostonglobe.com': /meter\.bostonglobe\.com\/js\/.+/,
|
||||
'brisbanetimes.com.au': /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/,
|
||||
'businessinsider.com': /.+\.tinypass\.com\/.+/,
|
||||
'businessinsider.com': /cdn\.tinypass\.com\/.+/,
|
||||
'challenges.fr': /.+\.poool\.fr\/.+/,
|
||||
'charliehebdo.fr': /.+\.poool\.fr\/.+/,
|
||||
'chicagobusiness.com': /.+\.tinypass\.com\/.+/,
|
||||
'chicagobusiness.com': /cdn\.tinypass\.com\/.+/,
|
||||
'chicagotribune.com': /.+:\/\/.+\.tribdss\.com\/.+/,
|
||||
'chronicle.com': /(.+\.blueconic\.net\/.+|assets\.login\.chronicle\.com\/common\/che-auth0-user\.js)/,
|
||||
'clarin.com': /js\.matheranalytics\.com\/.+/,
|
||||
'corriere.it': /(\.rcsobjects\.it\/(rcs_cpmt|rcs_tracking-service)\/|\.corriereobjects\.it\/.+\/js\/(_paywall\.sjs|tracking\/)|\.userzoom\.com\/files\/js\/|\.lp4\.io\/app\/)/,
|
||||
'digiday.com': /.+\.tinypass\.com\/.+/,
|
||||
'digiday.com': /cdn\.tinypass\.com\/.+/,
|
||||
'dvhn.nl': /.+\.evolok\.net\/.+\/authorize\/.+/,
|
||||
'economist.com': /.+\.tinypass\.com\/.+/,
|
||||
'economist.com': /cdn\.tinypass\.com\/.+/,
|
||||
'editorialedomani.it': /(.+\.editorialedomani\.it\/pelcro\.js|js\.pelcro\.com\/.+)/,
|
||||
'elcomercio.pe': /elcomercio\.pe\/pf\/dist\/template\/elcomercio-noticia.+\.js/,
|
||||
'elmercurio.com': /(elmercurio\.com\/.+\/js\/modal\.js|merreader\.emol\.cl\/assets\/js\/(vendor\/modal|merPramV\d)\.js|staticmer(\d)?\.emol\.cl\/js\/.+\/(modal|PramModal\.min)\.js)/,
|
||||
@ -202,28 +202,28 @@ var blockedRegexes = {
|
||||
'elpais.com': /.+\.epimg\.net\/js\/.+\/noticia\.min\.js/,
|
||||
'estadao.com.br': /acesso\.estadao\.com\.br\/paywall\/.+\/pw\.js/,
|
||||
'estrellavalpo.cl': /(.+\.mercuriovalpo\.cl\/impresa\/.+\/assets\/(vendor|\d)\.js|pram\.pasedigital\.cl\/API\/User\/Status\?)/,
|
||||
'exame.abril.com.br': /.+\.tinypass\.com\/.+/,
|
||||
'financialpost.com': /.+\.tinypass\.com\/.+/,
|
||||
'exame.abril.com.br': /cdn\.tinypass\.com\/.+/,
|
||||
'financialpost.com': /cdn\.tinypass\.com\/.+/,
|
||||
'folha.uol.com.br': /(.+\.folha\.uol\.com\.br\/paywall\/js\/.+\/publicidade\.ads\.js|paywall\.folha\.uol\.com\.br\/.+|js\.matheranalytics\.com\/.+)/,
|
||||
'foreignaffairs.com': /.+\.foreignaffairs\.com\/sites\/default\/files\/js\/js_P9zr.+\.js/,
|
||||
'foreignpolicy.com': /.+\.tinypass\.com\/.+/,
|
||||
'fortune.com': /.+\.tinypass\.com\/.+/,
|
||||
'foreignpolicy.com': /cdn\.tinypass\.com\/.+/,
|
||||
'fortune.com': /cdn\.tinypass\.com\/.+/,
|
||||
'fresnobee.com': /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/,
|
||||
'ftm.nl': /.+\.ftm\.nl\/js\/routing\?/,
|
||||
'gelocal.it': /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/,
|
||||
'gestion.pe': /gestion\.pe\/pf\/dist\/template\/gestion-noticia.+\.js/,
|
||||
'globes.co.il': /.+\.tinypass\.com\/.+/,
|
||||
'globo.com': /.+\.tinypass\.com\/.+/,
|
||||
'globes.co.il': /cdn\.tinypass\.com\/.+/,
|
||||
'globo.com': /cdn\.tinypass\.com\/.+/,
|
||||
'haaretz.co.il': /haaretz\.co\.il\/htz\/js\/inter\.js/,
|
||||
'haaretz.com': /haaretz\.com\/hdc\/web\/js\/minified\/header-scripts-int.js.+/,
|
||||
'historyextra.com': /.+\.evolok\.net\/.+\/authorize\/.+/,
|
||||
'ilmessaggero.it': /utils\.cedsdigital\.it\/js\/PaywallMeter\.js/,
|
||||
'ilrestodelcarlino.it': /.+\.tinypass\.com\/.+/,
|
||||
'ilrestodelcarlino.it': /cdn\.tinypass\.com\/.+/,
|
||||
'independent.ie': /cdn\.flip-pay\.com\/clients\/inm\/flip-pay\.js/,
|
||||
'inquirer.com': /.+\.tinypass\.com\/.+/,
|
||||
'inquirer.com': /cdn\.tinypass\.com\/.+/,
|
||||
'irishtimes.com': /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/,
|
||||
'knack.be': /.+\.knack\.be\/js\/responsive\/rmgModal\.js/,
|
||||
'kurier.at': /.+\.tinypass\.com\/.+/,
|
||||
'kurier.at': /cdn\.tinypass\.com\/.+/,
|
||||
'ladepeche.fr': /.+\.poool\.fr\/.+/,
|
||||
'lasegunda.com': /segreader\.emol\.cl\/assets\/js\/(vendor\/modal\.js|merPramV\d\.js)/,
|
||||
'lastampa.it': /.+\.repstatic\.it\/minify\/sites\/lastampa\/.+\/config\.cache\.php\?name=social_js/,
|
||||
@ -231,53 +231,53 @@ var blockedRegexes = {
|
||||
'latimes.com': /js\.matheranalytics\.com\/.+/,
|
||||
'lc.nl': /.+\.evolok\.net\/.+\/authorize\/.+/,
|
||||
'lejdd.fr': /.+\.poool\.fr\/.+/,
|
||||
'leparisien.fr': /.+\.tinypass\.com\/.+/,
|
||||
'lesechos.fr': /.+\.tinypass\.com\/.+/,
|
||||
'leparisien.fr': /cdn\.tinypass\.com\/.+/,
|
||||
'lesechos.fr': /cdn\.tinypass\.com\/.+/,
|
||||
'limesonline.com': /scripts\.repubblica\.it\/pw\/pw\.js.+/,
|
||||
'livemint.com': /(.+\.livemint\.com\/js\/localWorker\.js|analytics\.htmedia\.in\/analytics-js\/.+\.js)/,
|
||||
'lopinion.fr': /.+\.poool\.fr\/.+/,
|
||||
'lrb.co.uk': /.+\.tinypass\.com\/.+/,
|
||||
'lrb.co.uk': /cdn\.tinypass\.com\/.+/,
|
||||
'marketwatch.com': /cdn\.cxense\.com\/.+/,
|
||||
'mercuriovalpo.cl': /(.+\.mercuriovalpo\.cl\/impresa\/.+\/assets\/(vendor|\d)\.js|pram\.pasedigital\.cl\/API\/User\/Status\?)/,
|
||||
'modernhealthcare.com': /.+\.tinypass\.com\/.+/,
|
||||
'modernhealthcare.com': /cdn\.tinypass\.com\/.+/,
|
||||
'nationalgeographic.com': /.+\.blueconic\.net\/.+/,
|
||||
'nationalpost.com': /.+\.tinypass\.com\/.+/,
|
||||
'nationalpost.com': /cdn\.tinypass\.com\/.+/,
|
||||
'nationalreview.com': /(.+\.blueconic\.net\/.+|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/,
|
||||
'newrepublic.com': /.+\.onecount\.net\/js\/.+/,
|
||||
'newsweek.com': /js\.pelcro\.com\/.+/,
|
||||
'newyorker.com': /.+\.newyorker\.com\/verso\/static\/presenter-articles.+\.js/,
|
||||
'nknews.org': /.+\.nknews\.org\/wp-content\/plugins\/leaky-paywall-ajax\/js\/leaky-paywall-ajax\.js/,
|
||||
'nrz.de': /(cdn\.cxense\.com\/.+|.+\.tinypass\.com\/.+)/,
|
||||
'nrz.de': /(cdn\.cxense\.com\/.+|cdn\.tinypass\.com\/.+)/,
|
||||
'nytimes.com': /(.+meter-svc\.nytimes\.com\/meter\.js.+|.+mwcm\.nyt\.com\/.+\.js)/,
|
||||
'quotidiano.net': /.+\.tinypass\.com\/.+/,
|
||||
'quotidiano.net': /cdn\.tinypass\.com\/.+/,
|
||||
'repubblica.it': /scripts\.repubblica\.it\/pw\/pw\.js.+/,
|
||||
'rollingstone.com': /cdn\.cxense\.com\/.+/,
|
||||
'sacbee.com': /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/,
|
||||
'saechsische.de': /.+\.tinypass\.com\/.+/,
|
||||
'saechsische.de': /cdn\.tinypass\.com\/.+/,
|
||||
'science-et-vie.com': /.+\.qiota\.com\/.+/,
|
||||
'sciencesetavenir.fr': /.+\.poool\.fr\/.+/,
|
||||
'scmp.com': /.+\.tinypass\.com\/.+/,
|
||||
'seekingalpha.com': /.+\.tinypass\.com\/.+/,
|
||||
'scmp.com': /cdn\.tinypass\.com\/.+/,
|
||||
'seekingalpha.com': /cdn\.tinypass\.com\/.+/,
|
||||
'sfchronicle.com': /.+\.blueconic\.net\/.+/,
|
||||
'slate.com': /(cdn\.cxense\.com\/.+|.+\.tinypass\.com\/.+)/,
|
||||
'slate.com': /(cdn\.cxense\.com\/.+|cdn\.tinypass\.com\/.+)/,
|
||||
'sloanreview.mit.edu': /(cdn\.tinypass\.com\/.+|.+\/sloanreview\.mit\.edu\/.+\/welcome-ad\.js)/,
|
||||
'smh.com.au': /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/,
|
||||
'spectator.co.uk': /.+\.tinypass\.com\/.+/,
|
||||
'spectator.com.au': /.+\.tinypass\.com\/.+/,
|
||||
'spectator.co.uk': /cdn\.tinypass\.com\/.+/,
|
||||
'spectator.com.au': /cdn\.tinypass\.com\/.+/,
|
||||
'technologyreview.com': /.+\.blueconic\.net\/.+/,
|
||||
'telegraph.co.uk': /(.+\.tinypass\.com\/.+|.+\.telegraph\.co\.uk\/.+\/piano.+\.js|assets\.adobedtm\.com\/.+\.js)/,
|
||||
'telegraph.co.uk': /(cdn\.tinypass\.com\/.+|.+\.telegraph\.co\.uk\/.+\/piano.+\.js|assets\.adobedtm\.com\/.+\.js)/,
|
||||
'theage.com.au': /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/,
|
||||
'thedailybeast.com': /.+\.tinypass\.com\/.+/,
|
||||
'thehindu.com': /(cdn\.cxense\.com\/.+|.+\.tinypass\.com\/.+)/,
|
||||
'thenation.com': /.+\.tinypass\.com\/.+/,
|
||||
'thedailybeast.com': /cdn\.tinypass\.com\/.+/,
|
||||
'thehindu.com': /(cdn\.cxense\.com\/.+|cdn\.tinypass\.com\/.+)/,
|
||||
'thenation.com': /cdn\.tinypass\.com\/.+/,
|
||||
'thestar.com': /emeter-nam\.mppglobal\.com\/probes\/JSONP\?/,
|
||||
'valeursactuelles.com': /.+\.qiota\.com\/.+/,
|
||||
'variety.com': /cdn\.cxense\.com\/.+/,
|
||||
'washingtonpost.com': /.+\.washingtonpost\.com\/.+\/pwapi-proxy\.min\.js/,
|
||||
'watoday.com.au': /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/,
|
||||
'waz.de': /(cdn\.cxense\.com\/.+|.+\.tinypass\.com\/.+)/,
|
||||
'wp.de': /(cdn\.cxense\.com\/.+|.+\.tinypass\.com\/.+)/,
|
||||
'wr.de': /(cdn\.cxense\.com\/.+|.+\.tinypass\.com\/.+)/,
|
||||
'waz.de': /(cdn\.cxense\.com\/.+|cdn\.tinypass\.com\/.+)/,
|
||||
'wp.de': /(cdn\.cxense\.com\/.+|cdn\.tinypass\.com\/.+)/,
|
||||
'wr.de': /(cdn\.cxense\.com\/.+|cdn\.tinypass\.com\/.+)/,
|
||||
'wsj.com': /(cdn\.ampproject\.org\/v\d\/amp-access-.+\.js|cdn\.cxense\.com\/.+)/
|
||||
};
|
||||
|
||||
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Add Helsingin Sanomat (hs.fi, not paivanlehti)
|
||||
Fix-update LesEchos.fr (timing/banners)
|
||||
Fix-update Newsweek (Pelcro)
|
||||
|
||||
* v1.9.5.0 (2020-11-15)
|
||||
|
@ -670,6 +670,12 @@ else if (matchDomain("cen.acs.org")) {
|
||||
|
||||
else if (matchDomain("lesechos.fr") && window.location.href.match(/-\d{6,}/)) {
|
||||
window.setTimeout(function () {
|
||||
let abo_banner = document.querySelector('[class^="pgxf3b"]');
|
||||
let ad_blocks = document.querySelectorAll('[class*="jzxvkd"');
|
||||
for (let ad_block of ad_blocks)
|
||||
ad_block.setAttribute('style', 'display:none');
|
||||
if (abo_banner) {
|
||||
removeDOMElement(abo_banner);
|
||||
let url = window.location.href;
|
||||
let html = document.documentElement.outerHTML;
|
||||
let split1 = html.split('window.__PRELOADED_STATE__')[1];
|
||||
@ -698,16 +704,13 @@ else if (matchDomain("lesechos.fr") && window.location.href.match(/-\d{6,}/)) {
|
||||
}
|
||||
}
|
||||
}
|
||||
let styleElem = document.head.appendChild(document.createElement("style"));
|
||||
styleElem.innerHTML = ".post-paywall::after {height: auto !important;}";
|
||||
} catch (err) {
|
||||
window.location.reload(true);
|
||||
}
|
||||
let ad_blocks = document.querySelectorAll('.jzxvkd-1');
|
||||
for (let ad_block of ad_blocks) {
|
||||
ad_block.setAttribute('style', 'display:none');
|
||||
}
|
||||
let abo_banner = document.querySelector('[class^="pgxf3b"]');
|
||||
removeDOMElement(abo_banner);
|
||||
}, 1000); // Delay (in milliseconds)
|
||||
}, 500); // Delay (in milliseconds)
|
||||
}
|
||||
|
||||
else if (matchDomain(["lc.nl", "dvhn.nl"])) {
|
||||
@ -1545,7 +1548,6 @@ else if (matchDomain("hs.fi")) {
|
||||
if (!url.includes('https://dynamic.hs.fi')) {
|
||||
let iframe = document.querySelector('iframe[src^="https://dynamic.hs.fi/a/"]');
|
||||
if (iframe && url.includes('.html')) {
|
||||
console.log(iframe.src);
|
||||
window.setTimeout(function () {
|
||||
window.location.href = iframe.src;
|
||||
}, 500); // Delay (in milliseconds)
|
||||
|
@ -348,5 +348,5 @@
|
||||
"webRequest",
|
||||
"webRequestBlocking"
|
||||
],
|
||||
"version": "1.9.5.1"
|
||||
"version": "1.9.5.2"
|
||||
}
|
Loading…
Reference in New Issue
Block a user