mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 05:47:46 +01:00
Fix-update Telegraph.co.uk (overlay)
This commit is contained in:
parent
f82f97e8f2
commit
23cd31a60b
3 changed files with 6 additions and 3 deletions
|
@ -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'
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
}
|
Loading…
Reference in a new issue