Fix The Toronto Star

merge-requests/8/head
magnolia1234 2 years ago
parent 4f8d3d740b
commit 7b49b521f7

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
Fix The Toronto Star
* v2.8.2.0 (2022-08-28)
Add New Scientist

@ -2638,7 +2638,7 @@ else if (matchDomain(ca_gcm_domains)) {
else if (matchDomain(ca_torstar_domains)) {
window.setTimeout(function () {
let meter_banner = document.querySelector('.c-article-meter-banner');
let ads = document.querySelectorAll('.seo-media-query, .c-googleadslot');
let ads = document.querySelectorAll('.seo-media-query, .c-googleadslot, .ad-slot');
removeDOMElement(meter_banner, ...ads);
let end_of_article = document.querySelector('#end-of-article');
if (end_of_article)

@ -18,6 +18,11 @@
"Brainly.com": {
"domain": "brainly.com"
},
"Businessnews.com.au": {
"allow_cookies": 1,
"domain": "businessnews.com.au",
"useragent": "googlebot"
},
"Capital.bg": {
"allow_cookies": 1,
"domain": "capital.bg",

@ -700,5 +700,5 @@
"*://gcm.omerlocdn.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.8.2.0"
"version": "2.8.2.1"
}

@ -258,7 +258,15 @@ var defaultSites = {
},
"Condé Nast magazines": {
domain: "###_usa_conde_nast",
group: ["architecturaldigest.com", "bonappetit.com", "gq.com", "newyorker.com", "vanityfair.com", "vogue.com", "wired.com"],
group: [
"architecturaldigest.com",
"bonappetit.com",
"gq.com",
"newyorker.com",
"vanityfair.com",
"vogue.com",
"wired.com"
],
remove_cookies_select_drop: ["pay_ent_smp", "pay_ent_usmp"],
block_regex: "(journey\\.{domain}\\/(.+\\/)?build-.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)",
useragent: "googlebot"
@ -1855,7 +1863,7 @@ var defaultSites = {
"wellandtribune.ca"
],
allow_cookies: 1,
block_regex: /(\.(ca|com)\/api\/overlaydata|cdn\.ampproject\.org\/v\d\/amp-(access|subscriptions)-.+\.js)/
block_regex: "(\\.{domain}\\/script\\.js|\\.blueconic\\.net\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)"
},
"The Wall Street Journal": {
domain: "wsj.com",

@ -108,5 +108,19 @@
"domain": "nytimes.com",
"allow_cookies": 1,
"block_regex": "(meter-svc\\.nytimes\\.com\\/meter\\.js|mwcm\\.nyt\\.com\\/.+\\.js|cooking\\.nytimes\\.com\\/api\\/.+\\/access)"
},
"The Toronto Star (+ local TorStar sites)": {
"domain": "###_ca_torstar",
"group": [
"niagarafallsreview.ca",
"stcatharinesstandard.ca",
"thepeterboroughexaminer.com",
"therecord.com",
"thespec.com",
"thestar.com",
"wellandtribune.ca"
],
"allow_cookies": 1,
"block_regex": "(\\.{domain}\\/script\\.js|\\.blueconic\\.net\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js)"
}
}

Loading…
Cancel
Save