diff --git a/background.js b/background.js index 66979fb..4c3cb07 100644 --- a/background.js +++ b/background.js @@ -106,6 +106,7 @@ var remove_cookies = [ const remove_cookies_select_hold = { 'barrons.com': ['wsjregion'], 'newstatesman.com': ['STYXKEY_nsversion'], + 'telegraph.co.uk': ['consentUUID'], 'qz.com': ['gdpr'], 'wsj.com': ['wsjregion'] } @@ -247,7 +248,7 @@ var blockedRegexes = { 'spectator.co.uk': /.+\.tinypass\.com\/.+/, 'spectator.com.au': /.+\.tinypass\.com\/.+/, 'technologyreview.com': /.+\.blueconic\.net\/.+/, - 'telegraph.co.uk': /.+\.tinypass\.com\/.+/, + 'telegraph.co.uk': /(.+\.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\/.+)/, @@ -714,7 +715,7 @@ ext_api.webRequest.onBeforeSendHeaders.addListener(function(details) { if (tabId !== -1) { ext_api.tabs.get(tabId, function (currentTab) { - if (isSiteEnabled(currentTab) || medium_custom_domain || au_swm_site || sz_amp_site) { + if ((currentTab && isSiteEnabled(currentTab)) || medium_custom_domain || au_swm_site || sz_amp_site) { ext_api.tabs.executeScript(tabId, { file: 'contentScript.js', runAt: 'document_start' diff --git a/changelog.txt b/changelog.txt index afab4bd..5df6c7c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release +Fix-update Telegraph.co.uk (overlay) Fix updateBadge (grouped sites) * v1.9.3.0 (2020-11-01) diff --git a/manifest.json b/manifest.json index eaf4094..9117496 100644 --- a/manifest.json +++ b/manifest.json @@ -303,6 +303,7 @@ "*://*.qiota.com/*", "*://*.tinypass.com/*", "*://*.tribdss.com/*", + "*://*.adobedtm.com/*", "*://*.ampproject.org/*", "*://*.bwbx.io/*", "*://*.cedsdigital.it/*", @@ -338,5 +339,5 @@ "webRequest", "webRequestBlocking" ], - "version": "1.9.3.0" + "version": "1.9.3.1" } \ No newline at end of file