mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-09 23:41:56 +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
|
||||
Add Bild.de (fetch from archive.is)
|
||||
Add Capital.fr
|
||||
Fix MediaNews Group (ld_json_url)
|
||||
Fix Nzz.ch (css)
|
||||
|
||||
* v3.6.2.0 (2024-04-01)
|
||||
|
|
|
@ -6352,10 +6352,11 @@ else if ((domain = matchDomain(usa_mcc_domains)) ||
|
|||
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"]'))) {
|
||||
if (window.location.pathname.endsWith('/amp/')) {
|
||||
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/'))
|
||||
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/"]')) {
|
||||
|
|
|
@ -51,5 +51,5 @@
|
|||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.6.2.2"
|
||||
"version": "3.6.2.3"
|
||||
}
|
||||
|
|
|
@ -868,5 +868,5 @@
|
|||
"*://archive.vn/*",
|
||||
"*://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"
|
||||
],
|
||||
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)": {
|
||||
domain: "###_de_mhs",
|
||||
|
|
|
@ -72,6 +72,22 @@
|
|||
"add_ext_link_type": "archive.is",
|
||||
"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": {
|
||||
"domain": "nzz.ch",
|
||||
"allow_cookies": 1,
|
||||
|
|
Loading…
Reference in a new issue