From 684affce126319430cf942ebd906007c8b7ae257 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Mon, 18 Jan 2021 20:35:56 +0100 Subject: [PATCH] Fix-update MIT Sloan Management Review Plus update block TinyPass (all subdomains) --- background.js | 78 +++++++++++++++++++++++++-------------------------- changelog.txt | 2 ++ 2 files changed, 41 insertions(+), 39 deletions(-) diff --git a/background.js b/background.js index c31d677..fb3df7c 100644 --- a/background.js +++ b/background.js @@ -187,7 +187,7 @@ var use_bing_bot = [ 'themarker.com', ]; -var use_facebook_referer = ['clarin.com', 'fd.nl']; +var use_facebook_referer = ['clarin.com', 'fd.nl', 'sloanreview.mit.edu']; var use_random_ip = ['esprit.presse.fr', 'slader.com']; var change_headers = use_google_bot.concat(use_bing_bot, use_facebook_referer, use_random_ip); @@ -196,23 +196,23 @@ var blockedRegexes = { 'adweek.com': /.+\.lightboxcdn\.com\/.+/, 'afr.com': /afr\.com\/assets\/vendorsReactRedux_client.+\.js/, 'alternatives-economiques.fr': /.+\.poool\.fr\/.+/, - 'americanbanker.com': /cdn\.tinypass\.com\/.+/, + 'americanbanker.com': /\.tinypass\.com\/.+/, 'barrons.com': /(cdn\.cxense\.com\/.+|cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent)-.+\.js)/, 'belfasttelegraph.co.uk': /(cdn\.flip-pay\.com\/clients\/inm\/flip-pay\.js|cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent)-.+\.js)/, 'bizjournals.com': /(assets\.bizjournals\.com\/static\/js\/app\/cxense\.js|cdn\.cxense\.com\/.+)/, - 'bloomberg.com': /(cdn\.tinypass\.com\/|assets\.bwbx\.io\/s3\/fence\/)/, + 'bloomberg.com': /(\.tinypass\.com\/|assets\.bwbx\.io\/s3\/fence\/)/, 'bostonglobe.com': /meter\.bostonglobe\.com\/js\/.+/, - 'businessinsider.com': /cdn\.tinypass\.com\/.+/, + 'businessinsider.com': /\.tinypass\.com\/.+/, 'challenges.fr': /.+\.poool\.fr\/.+/, 'charliehebdo.fr': /.+\.poool\.fr\/.+/, - 'chicagobusiness.com': /cdn\.tinypass\.com\/.+/, + 'chicagobusiness.com': /\.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': /(cdn\.tinypass\.com\/|\.rcsobjects\.it\/rcs_(cpmt|tracking-service)\/|\.corriereobjects\.it\/.+\/js\/(_paywall\.sjs|tracking\/)|\.userzoom\.com\/files\/js\/)/, - 'digiday.com': /cdn\.tinypass\.com\/.+/, + 'corriere.it': /(\.tinypass\.com\/|\.rcsobjects\.it\/rcs_(cpmt|tracking-service)\/|\.corriereobjects\.it\/.+\/js\/(_paywall\.sjs|tracking\/)|\.userzoom\.com\/files\/js\/)/, + 'digiday.com': /\.tinypass\.com\/.+/, 'dvhn.nl': /.+\.evolok\.net\/.+\/authorize\/.+/, - 'economist.com': /cdn\.tinypass\.com\/.+/, + 'economist.com': /\.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|emol\.cl)\/(.+\/)?js\/(.+\/)?(modal|merPramV\d|PramModal\.min)\.js/, @@ -221,31 +221,31 @@ var blockedRegexes = { 'elperiodico.com': /cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent)-.+\.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': /cdn\.tinypass\.com\/.+/, + 'exame.abril.com.br': /\.tinypass\.com\/.+/, 'expansion.com': /cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent)-.+\.js/, - 'financialpost.com': /cdn\.tinypass\.com\/.+/, + 'financialpost.com': /\.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_[^y].+\.js/, - 'foreignpolicy.com': /cdn\.tinypass\.com\/.+/, - 'fortune.com': /cdn\.tinypass\.com\/.+/, + 'foreignpolicy.com': /\.tinypass\.com\/.+/, + 'fortune.com': /\.tinypass\.com\/.+/, 'freiepresse.de': /cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent)-.+\.js/, '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|ad)-.+\.js/, 'gestion.pe': /gestion\.pe\/pf\/dist\/template\/gestion-noticia.+\.js/, - 'globes.co.il': /cdn\.tinypass\.com\/.+/, - 'globo.com': /cdn\.tinypass\.com\/.+/, + 'globes.co.il': /\.tinypass\.com\/.+/, + 'globo.com': /\.tinypass\.com\/.+/, 'haaretz.co.il': /haaretz\.co\.il\/htz\/js\/inter\.js/, 'haaretz.com': /haaretz\.com\/hdc\/web\/js\/minified\/header-scripts-int.js.+/, - 'hbr.org': /cdn\.tinypass\.com\/.+/, + 'hbr.org': /\.tinypass\.com\/.+/, 'historyextra.com': /.+\.evolok\.net\/.+\/authorize\/.+/, - 'ilrestodelcarlino.it': /cdn\.tinypass\.com\/.+/, + 'ilrestodelcarlino.it': /\.tinypass\.com\/.+/, 'ilsecoloxix.it': /\.repstatic\.it\/minify\/sites\/gelocal\/.+\/config\.cache\.php\?name=ilsecoloxix_pw_js/, 'independent.ie': /(cdn\.flip-pay\.com\/clients\/inm\/flip-pay\.js|cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent)-.+\.js)/, - 'inquirer.com': /cdn\.tinypass\.com\/.+/, + 'inquirer.com': /\.tinypass\.com\/.+/, 'irishtimes.com': /cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.js/, 'knack.be': /.+\.knack\.be\/js\/responsive\/rmgModal\.js/, - 'kurier.at': /cdn\.tinypass\.com\/.+/, + 'kurier.at': /\.tinypass\.com\/.+/, 'la-croix.com': /cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.js/, 'lasegunda.com': /\.(lasegunda\.com|emol\.cl)\/(.+\/)?js\/(.+\/)?(modal|merPramV\d|PramModal\.min)\.js/, 'lanuovasardegna.it': /\.repstatic\.it\/minify\/sites\/lanuovasardegna\/.+\/config\.cache\.php\?name=social_js/, @@ -255,46 +255,46 @@ var blockedRegexes = { 'lavanguardia.com': /(\.evolok\.net\/.+\/authorize\/|\.lavanguardia\.com\/(js\/)?godo-)/, 'lc.nl': /.+\.evolok\.net\/.+\/authorize\/.+/, 'lejdd.fr': /.+\.poool\.fr\/.+/, - 'leparisien.fr': /cdn\.tinypass\.com\/.+/, - 'lesechos.fr': /cdn\.tinypass\.com\/.+/, + 'leparisien.fr': /\.tinypass\.com\/.+/, + 'lesechos.fr': /\.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': /cdn\.tinypass\.com\/.+/, + 'lrb.co.uk': /\.tinypass\.com\/.+/, 'marketwatch.com': /cdn\.cxense\.com\/.+/, 'mercuriovalpo.cl': /(.+\.mercuriovalpo\.cl\/impresa\/.+\/assets\/(vendor|\d)\.js|pram\.pasedigital\.cl\/API\/User\/Status\?)/, - 'modernhealthcare.com': /cdn\.tinypass\.com\/.+/, + 'modernhealthcare.com': /\.tinypass\.com\/.+/, 'nationalgeographic.com': /.+\.blueconic\.net\/.+/, - 'nationalpost.com': /cdn\.tinypass\.com\/.+/, + 'nationalpost.com': /\.tinypass\.com\/.+/, 'nationalreview.com': /(.+\.blueconic\.net\/.+|cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.js)/, 'newrepublic.com': /.+\.onecount\.net\/js\/.+/, 'newsweek.com': /js\.pelcro\.com\/.+/, 'newyorker.com': /.+\.newyorker\.com\/verso\/static\/presenter-articles.+\.js/, 'nytimes.com': /(meter-svc\.nytimes\.com\/meter\.js|mwcm\.nyt\.com\/.+\.js)/, 'parismatch.com': /.+\.poool\.fr\/.+/, - 'quotidiano.net': /cdn\.tinypass\.com\/.+/, + 'quotidiano.net': /\.tinypass\.com\/.+/, 'repubblica.it': /scripts\.repubblica\.it\/pw\/pw\.js.+/, 'rollingstone.com': /cdn\.cxense\.com\/.+/, 'ruhrnachrichten.de': /\.tinypass\.com\/.+/, 'sacbee.com': /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/, - 'saechsische.de': /cdn\.tinypass\.com\/.+/, + 'saechsische.de': /\.tinypass\.com\/.+/, 'science-et-vie.com': /.+\.qiota\.com\/.+/, 'sciencesetavenir.fr': /.+\.poool\.fr\/.+/, - 'scmp.com': /cdn\.tinypass\.com\/.+/, - 'seekingalpha.com': /(cdn\.tinypass\.com\/|cdn\.ampproject\.org(\/.+)?\/v\d\/amp-(access|ad|loader)-.+\.js)/, + 'scmp.com': /\.tinypass\.com\/.+/, + 'seekingalpha.com': /(\.tinypass\.com\/|cdn\.ampproject\.org(\/.+)?\/v\d\/amp-(access|ad|loader)-.+\.js)/, 'sfchronicle.com': /.+\.blueconic\.net\/.+/, - 'slate.com': /(cdn\.cxense\.com\/.+|cdn\.tinypass\.com\/.+)/, - 'sloanreview.mit.edu': /(cdn\.tinypass\.com\/.+|.+\/sloanreview\.mit\.edu\/.+\/welcome-ad\.js)/, - 'spectator.co.uk': /cdn\.tinypass\.com\/.+/, - 'spectator.com.au': /cdn\.tinypass\.com\/.+/, - 'spectator.us': /(cdn\.cxense\.com\/.+|cdn\.tinypass\.com\/.+)/, + 'slate.com': /(cdn\.cxense\.com\/.+|\.tinypass\.com\/.+)/, + 'sloanreview.mit.edu': /(\.tinypass\.com\/.+|.+\/sloanreview\.mit\.edu\/.+\/welcome-ad\.js)/, + 'spectator.co.uk': /\.tinypass\.com\/.+/, + 'spectator.com.au': /\.tinypass\.com\/.+/, + 'spectator.us': /(cdn\.cxense\.com\/.+|\.tinypass\.com\/.+)/, 'svz.de': /cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|consent|fx-flying-carpet)-.+\.js/, 'technologyreview.com': /.+\.blueconic\.net\/.+/, - 'telegraph.co.uk': /(cdn\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent)-.+\.js|\.telegraph\.co\.uk\/.+\/piano.+\.js|assets\.adobedtm\.com\/.+\.js)/, - 'thedailybeast.com': /cdn\.tinypass\.com\/.+/, - 'thehindu.com': /(cdn\.cxense\.com\/.+|cdn\.tinypass\.com\/.+)/, - 'thehindubusinessline.com': /(cdn\.cxense\.com\/.+|cdn\.tinypass\.com\/.+)/, - 'thenation.com': /cdn\.tinypass\.com\/.+/, + 'telegraph.co.uk': /(\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent)-.+\.js|\.telegraph\.co\.uk\/.+\/piano.+\.js|assets\.adobedtm\.com\/.+\.js)/, + 'thedailybeast.com': /\.tinypass\.com\/.+/, + 'thehindu.com': /(cdn\.cxense\.com\/.+|\.tinypass\.com\/.+)/, + 'thehindubusinessline.com': /(cdn\.cxense\.com\/.+|\.tinypass\.com\/.+)/, + 'thenation.com': /\.tinypass\.com\/.+/, 'timeshighereducation.com': /\.timeshighereducation\.com\/sites\/default\/files\/js\/js_bbCGL.+\.js/, 'valeursactuelles.com': /.+\.qiota\.com\/.+/, 'variety.com': /cdn\.cxense\.com\/.+/, @@ -421,7 +421,7 @@ function add_grouped_sites(init_rules) { } for (let domain of de_funke_media_domains) { allow_cookies.push(domain); - blockedRegexes[domain] = /(cdn\.cxense\.com\/.+|cdn\.tinypass\.com\/.+)/; + blockedRegexes[domain] = /(cdn\.cxense\.com\/.+|\.tinypass\.com\/.+)/; } for (let domain of es_grupo_vocento_domains) { allow_cookies.push(domain); @@ -719,7 +719,7 @@ ext_api.webRequest.onHeadersReceived.addListener(function (details) { }, ['blocking', 'responseHeaders']); -var block_js_default = ["*://cdn.tinypass.com/*", "*://*.piano.io/*", "*://*.poool.fr/*", "*://cdn.ampproject.org/v*/amp-access-*.js", "*://*.blueconic.net/*", "*://*.cxense.com/*", "*://*.evolok.net/*", "*://js.matheranalytics.com/*", "*://*.newsmemory.com/*", "*://*.onecount.net/*", "*://js.pelcro.com/*", "*://*.qiota.com/*", "*://*.tribdss.com/*"]; +var block_js_default = ["*://*.tinypass.com/*", "*://*.piano.io/*", "*://*.poool.fr/*", "*://cdn.ampproject.org/v*/amp-access-*.js", "*://*.blueconic.net/*", "*://*.cxense.com/*", "*://*.evolok.net/*", "*://js.matheranalytics.com/*", "*://*.newsmemory.com/*", "*://*.onecount.net/*", "*://js.pelcro.com/*", "*://*.qiota.com/*", "*://*.tribdss.com/*"]; var block_js_custom = []; var block_js_custom_ext = []; var block_js = block_js_default.concat(block_js_custom); diff --git a/changelog.txt b/changelog.txt index f58ac28..d9a6d38 100644 --- a/changelog.txt +++ b/changelog.txt @@ -4,6 +4,8 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Add Ruhr Nachrichten (Germany) Fix-update El Pais (Spain) +Fix-update MIT Sloan Management Review +Update block TinyPass (all subdomains) * v2.0.4.0 (2021-01-17) Add Cicero (Germany)