mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-13 00:44:15 +01:00
Fix MediaNews Group (ld_json_url)
This commit is contained in:
parent
cc2d0a140b
commit
30cd4112de
6 changed files with 25 additions and 6 deletions
|
@ -5,6 +5,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
|
||||||
Post-release
|
Post-release
|
||||||
Add Bild.de (fetch from archive.is)
|
Add Bild.de (fetch from archive.is)
|
||||||
Add Capital.fr
|
Add Capital.fr
|
||||||
|
Fix MediaNews Group (ld_json_url)
|
||||||
Fix Nzz.ch (css)
|
Fix Nzz.ch (css)
|
||||||
|
|
||||||
* v3.6.2.0 (2024-04-01)
|
* v3.6.2.0 (2024-04-01)
|
||||||
|
|
|
@ -6352,10 +6352,11 @@ else if ((domain = matchDomain(usa_mcc_domains)) ||
|
||||||
hideDOMElement(...ads);
|
hideDOMElement(...ads);
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain(usa_mng_domains) || (window.location.href.match(/\.com\/(\d){4}\/(\d){2}\/(\d){2}\/.+\/amp\//) && document.querySelector('footer li > a[href^="https://www.medianewsgroup.com"]'))) {
|
else if (matchDomain(usa_mng_domains) || document.querySelector('head > link[rel="stylesheet"][id^="dfm-accuweather-"], footer li > a[href^="https://www.medianewsgroup.com"]')) {
|
||||||
if (window.location.pathname.endsWith('/amp/')) {
|
if (window.location.pathname.endsWith('/amp/'))
|
||||||
amp_unhide_subscr_section('amp-ad, amp-embed, div.ampWrapperInside, div#paywall');
|
amp_unhide_subscr_section('amp-ad, amp-embed, div.ampWrapperInside, div#paywall');
|
||||||
}
|
else if (dompurify_loaded)
|
||||||
|
getJsonUrl('#server-paywall', '', 'div.body-copy', {art_append: 1});
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (document.querySelector('script[src*=".axate.io/"]')) {
|
else if (document.querySelector('script[src*=".axate.io/"]')) {
|
||||||
|
|
|
@ -51,5 +51,5 @@
|
||||||
"webRequestBlocking",
|
"webRequestBlocking",
|
||||||
"*://*/*"
|
"*://*/*"
|
||||||
],
|
],
|
||||||
"version": "3.6.2.2"
|
"version": "3.6.2.3"
|
||||||
}
|
}
|
||||||
|
|
|
@ -868,5 +868,5 @@
|
||||||
"*://archive.vn/*",
|
"*://archive.vn/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "3.6.2.2"
|
"version": "3.6.2.3"
|
||||||
}
|
}
|
||||||
|
|
3
sites.js
3
sites.js
|
@ -1656,7 +1656,8 @@ var defaultSites = {
|
||||||
"twincities.com"
|
"twincities.com"
|
||||||
],
|
],
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
block_regex: "((\\.{domain}\\/script|\\/.+\\/loader\\.min)\\.js|\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)"
|
block_regex: "((\\.{domain}\\/script|\\/.+\\/loader\\.min)\\.js|\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)",
|
||||||
|
cs_dompurify: 1
|
||||||
},
|
},
|
||||||
"Medienholding Süd (opt-in to custom sites for unlisted)": {
|
"Medienholding Süd (opt-in to custom sites for unlisted)": {
|
||||||
domain: "###_de_mhs",
|
domain: "###_de_mhs",
|
||||||
|
|
|
@ -72,6 +72,22 @@
|
||||||
"add_ext_link_type": "archive.is",
|
"add_ext_link_type": "archive.is",
|
||||||
"upd_version": "3.6.1.3"
|
"upd_version": "3.6.1.3"
|
||||||
},
|
},
|
||||||
|
"MediaNews Group": {
|
||||||
|
"domain": "###_usa_mng",
|
||||||
|
"group": [
|
||||||
|
"bostonherald.com",
|
||||||
|
"denverpost.com",
|
||||||
|
"eastbaytimes.com",
|
||||||
|
"mercurynews.com",
|
||||||
|
"ocregister.com",
|
||||||
|
"pressenterprise.com",
|
||||||
|
"twincities.com"
|
||||||
|
],
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"block_regex": "((\\.{domain}\\/script|\\/.+\\/loader\\.min)\\.js|\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)",
|
||||||
|
"ld_json_url": "#server-paywall|div.body-copy|1",
|
||||||
|
"upd_version": "3.6.2.3"
|
||||||
|
},
|
||||||
"Neue Zürcher Zeitung": {
|
"Neue Zürcher Zeitung": {
|
||||||
"domain": "nzz.ch",
|
"domain": "nzz.ch",
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
|
|
Loading…
Reference in a new issue