mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:21:58 +01:00
Fix Winnipeg Free Press (xhr)
This commit is contained in:
parent
08984bb0ca
commit
40ef5ddb97
6 changed files with 8 additions and 13 deletions
|
@ -9,6 +9,7 @@ Fix Bloomberg (graphics)
|
|||
Fix Law.com (cookies)
|
||||
Fix LesEchos.fr (timing)
|
||||
Fix McClatchy Group (identify site)
|
||||
Fix Winnipeg Free Press (xhr)
|
||||
|
||||
* v2.7.7.0 (2022-07-24)
|
||||
Add Saltwire Network (Canada)
|
||||
|
|
|
@ -4055,12 +4055,6 @@ else if (matchDomain('washingtonpost.com')) {
|
|||
}
|
||||
|
||||
else if (matchDomain('winnipegfreepress.com')) {
|
||||
let paywall = document.querySelector('.paidaccess');
|
||||
if (paywall) {
|
||||
paywall.classList.remove('paidaccess');
|
||||
let teaser = document.querySelector('#paywall-teaser');
|
||||
removeDOMElement(teaser);
|
||||
}
|
||||
let ads = document.querySelectorAll('.billboard-ad-space, .ad, .article-ad, .fixed-sky');
|
||||
removeDOMElement(...ads);
|
||||
}
|
||||
|
|
|
@ -101,11 +101,6 @@
|
|||
"Medpagetoday.com": {
|
||||
"domain": "medpagetoday.com"
|
||||
},
|
||||
"Morgenbladet.no": {
|
||||
"allow_cookies": 1,
|
||||
"domain": "morgenbladet.no",
|
||||
"useragent": "googlebot"
|
||||
},
|
||||
"Nationalobserver.com": {
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.tinypass\\.com\\/",
|
||||
|
|
|
@ -696,5 +696,5 @@
|
|||
"*://gcm.omerlocdn.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.7.7.4"
|
||||
"version": "2.7.7.5"
|
||||
}
|
||||
|
|
2
sites.js
2
sites.js
|
@ -2006,7 +2006,7 @@ var defaultSites = {
|
|||
"Winnipeg Free Press": {
|
||||
domain: "winnipegfreepress.com",
|
||||
allow_cookies: 1,
|
||||
block_regex: /cdn\.cxense\.com\//
|
||||
block_regex: /(account\.winnipegfreepress\.com\/api\/v\d\/auth\/identify|cdn\.cxense\.com\/)/
|
||||
},
|
||||
"World Politics Review": {
|
||||
domain: "worldpoliticsreview.com",
|
||||
|
|
|
@ -51,5 +51,10 @@
|
|||
"domain": "saltwire.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\/loader-cdn\\.azureedge\\.net\\/"
|
||||
},
|
||||
"Winnipeg Free Press": {
|
||||
"domain": "winnipegfreepress.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "(account\\.winnipegfreepress\\.com\\/api\\/v\\d\\/auth\\/identify|cdn\\.cxense\\.com\\/)"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue