mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-09-20 04:31:07 +02:00
Fix Los Angeles Times & San Diego Union-Tribune
This commit is contained in:
parent
d1bba47a0e
commit
84c831c5b4
5 changed files with 15 additions and 12 deletions
|
@ -7,6 +7,7 @@ Remove L'Opinion.fr (fix obsolete)
|
||||||
Remove Spiegel.de (fix obsolete)
|
Remove Spiegel.de (fix obsolete)
|
||||||
Fix Conde Nast magazines (cookies)
|
Fix Conde Nast magazines (cookies)
|
||||||
Fix DvhN.nl (json)
|
Fix DvhN.nl (json)
|
||||||
|
Fix Los Angeles Times & San Diego Union-Tribune
|
||||||
Fix Madsack Mediengruppe
|
Fix Madsack Mediengruppe
|
||||||
Fix The Atlantic (menu)
|
Fix The Atlantic (menu)
|
||||||
Fix The Australian (The Oz)
|
Fix The Australian (The Oz)
|
||||||
|
|
|
@ -3436,15 +3436,8 @@ else if (matchDomain('jpost.com')) {
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain(['latimes.com', 'sandiegouniontribune.com'])) {
|
else if (matchDomain(['latimes.com', 'sandiegouniontribune.com'])) {
|
||||||
if (window.location.search.startsWith('?_amp=true')) {
|
let ads = document.querySelectorAll('div.enhancement, div.google-dfp-ad-wrapper');
|
||||||
amp_unhide_subscr_section('amp-ad, [class*="-ad-wrapper"], div.enhancement');
|
removeDOMElement(...ads);
|
||||||
} else {
|
|
||||||
window.setTimeout(function () {
|
|
||||||
let metering_bottompanel = document.querySelector('metering-bottompanel');
|
|
||||||
let banners = document.querySelectorAll('div.enhancement, div.google-dfp-ad-wrapper');
|
|
||||||
removeDOMElement(metering_bottompanel, ...banners);
|
|
||||||
}, 500);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain('ledevoir.com')) {
|
else if (matchDomain('ledevoir.com')) {
|
||||||
|
|
|
@ -710,6 +710,7 @@
|
||||||
"*://*.blink.net/*",
|
"*://*.blink.net/*",
|
||||||
"*://*.bntech.io/*",
|
"*://*.bntech.io/*",
|
||||||
"*://*.bwbx.io/*",
|
"*://*.bwbx.io/*",
|
||||||
|
"*://*.californiatimes.com/*",
|
||||||
"*://*.cedsdigital.it/*",
|
"*://*.cedsdigital.it/*",
|
||||||
"*://*.corriereobjects.it/*",
|
"*://*.corriereobjects.it/*",
|
||||||
"*://*.emol.cl/*",
|
"*://*.emol.cl/*",
|
||||||
|
@ -723,5 +724,5 @@
|
||||||
"*://*.wallkit.net/*",
|
"*://*.wallkit.net/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "3.0.3.6"
|
"version": "3.0.3.7"
|
||||||
}
|
}
|
||||||
|
|
4
sites.js
4
sites.js
|
@ -1180,7 +1180,7 @@ var defaultSites = {
|
||||||
},
|
},
|
||||||
"Los Angeles Times": {
|
"Los Angeles Times": {
|
||||||
domain: "latimes.com",
|
domain: "latimes.com",
|
||||||
block_regex: /(metering\.platform\.latimes\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|subscriptions)-.+\.js)/
|
block_regex: /\.californiatimes\.com\/meteringjs/
|
||||||
},
|
},
|
||||||
"Madavor Media (opt-in to custom sites)": {
|
"Madavor Media (opt-in to custom sites)": {
|
||||||
domain: "###_usa_madavor",
|
domain: "###_usa_madavor",
|
||||||
|
@ -1644,7 +1644,7 @@ var defaultSites = {
|
||||||
},
|
},
|
||||||
"San Diego Union Tribune": {
|
"San Diego Union Tribune": {
|
||||||
domain: "sandiegouniontribune.com",
|
domain: "sandiegouniontribune.com",
|
||||||
block_regex: /(metering\.platform\.sandiegouniontribune\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|subscriptions)-.+\.js)/
|
block_regex: /\.californiatimes\.com\/meteringjs/
|
||||||
},
|
},
|
||||||
"Science (free articles only)": {
|
"Science (free articles only)": {
|
||||||
domain: "science.org",
|
domain: "science.org",
|
||||||
|
|
|
@ -61,11 +61,19 @@
|
||||||
"ld_json": "div.paywall|div.article-full__body-content",
|
"ld_json": "div.paywall|div.article-full__body-content",
|
||||||
"cs_code": "[{\"cond\":\"div.article-full__body-content\",\"rm_attrib\":\"style|data-state\"}]"
|
"cs_code": "[{\"cond\":\"div.article-full__body-content\",\"rm_attrib\":\"style|data-state\"}]"
|
||||||
},
|
},
|
||||||
|
"Los Angeles Times": {
|
||||||
|
"domain": "latimes.com",
|
||||||
|
"block_regex": "\\.californiatimes\\.com\\/meteringjs"
|
||||||
|
},
|
||||||
"Saarbrücker Zeitung": {
|
"Saarbrücker Zeitung": {
|
||||||
"domain": "saarbruecker-zeitung.de",
|
"domain": "saarbruecker-zeitung.de",
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
"useragent": "facebookbot"
|
"useragent": "facebookbot"
|
||||||
},
|
},
|
||||||
|
"San Diego Union Tribune": {
|
||||||
|
"domain": "sandiegouniontribune.com",
|
||||||
|
"block_regex": "\\.californiatimes\\.com\\/meteringjs"
|
||||||
|
},
|
||||||
"The Atlantic": {
|
"The Atlantic": {
|
||||||
"domain": "theatlantic.com",
|
"domain": "theatlantic.com",
|
||||||
"remove_cookies_select_drop": ["articleViews"],
|
"remove_cookies_select_drop": ["articleViews"],
|
||||||
|
|
Loading…
Reference in a new issue