Fix Winnipeg Free Press (xhr)

This commit is contained in:
magnolia1234 2022-07-29 08:27:46 +02:00
parent 08984bb0ca
commit 40ef5ddb97
6 changed files with 8 additions and 13 deletions

View file

@ -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)

View file

@ -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);
}

View file

@ -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\\/",

View file

@ -696,5 +696,5 @@
"*://gcm.omerlocdn.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.7.7.4"
"version": "2.7.7.5"
}

View file

@ -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",

View file

@ -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\\/)"
}
}