Add Private Media AU

This commit is contained in:
magnolia1234 2024-04-08 09:55:31 +02:00
parent e831eed4fd
commit fde5c2bd0e
10 changed files with 56 additions and 77 deletions

View file

@ -883,7 +883,6 @@ Grouped in options:\
##### Australia/New Zealand ##### Australia/New Zealand
[Crikey](https://www.crikey.com.au) -
[Forbes Australia](https://www.forbes.com.au) - [Forbes Australia](https://www.forbes.com.au) -
[Inkl](https://www.inkl.com) - [Inkl](https://www.inkl.com) -
[MacroBusiness](https://www.macrobusiness.com.au) - [MacroBusiness](https://www.macrobusiness.com.au) -
@ -932,7 +931,12 @@ Grouped in options:\
*InvestSmart* sites like\ *InvestSmart* sites like\
[InvestSmart](https://www.investsmart.com.au) - [InvestSmart](https://www.investsmart.com.au) -
[Intelligent Investor](https://www.intelligentinvestor.com.au)\ [Intelligent Investor](https://www.intelligentinvestor.com.au)\
*[McPherson Media Group](https://www.mmg.com.au/portfolio)* sites (opt-in to custom sites) *[McPherson Media Group](https://www.mmg.com.au/portfolio)* sites (opt-in to custom sites)\
*[Private Media](https://www.privatemedia.com.au)* sites like\
[Crikey](https://www.crikey.com.au) -
[Inc. Australia](https://www.inc-aus.com) -
[Smart Company](https://www.smartcompany.com.au) -
[The Mandarin](https://www.themandarin.com.au)
##### China, Hong Kong & Taiwan ##### China, Hong Kong & Taiwan
[CommonWealth Magazine Taiwan](https://www.cw.com.tw)* - [CommonWealth Magazine Taiwan](https://www.cw.com.tw)* -

View file

@ -541,7 +541,7 @@ ext_api.storage.local.get({
} else { } else {
ext_api.management.getSelf(function (result) { ext_api.management.getSelf(function (result) {
if ((result.installType === 'development' || (result.installType !== 'development' && !enabledSites.includes('#options_on_update')))) { if ((result.installType === 'development' || (result.installType !== 'development' && !enabledSites.includes('#options_on_update')))) {
let new_groups = ['###_ch_ringier', '###_fr_groupe_infopro', '###_pl_ringier', '###_usa_digiday']; let new_groups = ['###_au_private_media', '###_ch_ringier', '###_fr_groupe_infopro', '###_pl_ringier', '###_usa_digiday'];
let open_options = new_groups.some(group => !enabledSites.includes(group) && grouped_sites[group].some(domain => enabledSites.includes(domain) && !customSites_domains.includes(domain))); let open_options = new_groups.some(group => !enabledSites.includes(group) && grouped_sites[group].some(domain => enabledSites.includes(domain) && !customSites_domains.includes(domain)));
if (open_options) if (open_options)
ext_api.runtime.openOptionsPage(); ext_api.runtime.openOptionsPage();

View file

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
Post-release Post-release
Add Private Media AU
* v3.6.3.0 (2024-04-07) * v3.6.3.0 (2024-04-07)
Add Bild.de (fetch from archive.is) Add Bild.de (fetch from archive.is)

View file

@ -381,12 +381,17 @@ if (matchDomain('medium.com') || matchDomain(medium_custom_domains) || (!matchDo
}, 1000); }, 1000);
} }
else if (window.location.hostname.match(/\.(com|net)\.au$/)) {//australia else if (window.location.hostname.match(/\.(com|net)\.au$/) || matchDomain('inc-aus.com')) {//australia
if (matchDomain('crikey.com.au')) { if (matchDomain(['crikey.com.au', 'inc-aus.com', 'smartcompany.com.au', 'themandarin.com.au'])) {
if (matchDomain('themandarin.com.au')) {
if (dompurify_loaded)
getJsonUrl('div[data-enterprise-agreement-paywall="true"]', '', 'div.paywall-mandy');
} else {
let ads = '.advert'; let ads = '.advert';
hideDOMStyle(ads); hideDOMStyle(ads);
} }
}
else if (matchDomain('forbes.com.au')) { else if (matchDomain('forbes.com.au')) {
if (dompurify_loaded) if (dompurify_loaded)

View file

@ -51,5 +51,5 @@
"webRequestBlocking", "webRequestBlocking",
"*://*/*" "*://*/*"
], ],
"version": "3.6.3.0" "version": "3.6.3.1"
} }

View file

@ -876,11 +876,6 @@
"domain": "theloadstar.com", "domain": "theloadstar.com",
"ld_json_url": "div#register_wrapper,div[id$=\"_req_container\"]|article|1|1" "ld_json_url": "div#register_wrapper,div[id$=\"_req_container\"]|article|1|1"
}, },
"Themandarin.com.au": {
"allow_cookies": 1,
"domain": "themandarin.com.au",
"ld_json_url": "div[data-enterprise-agreement-paywall='true']|div.paywall-mandy"
},
"Themonthly.com.au": { "Themonthly.com.au": {
"domain": "themonthly.com.au" "domain": "themonthly.com.au"
}, },

View file

@ -352,6 +352,7 @@
"*://*.ilsole24ore.com/*", "*://*.ilsole24ore.com/*",
"*://*.iltelegrafolivorno.it/*", "*://*.iltelegrafolivorno.it/*",
"*://*.iltirreno.it/*", "*://*.iltirreno.it/*",
"*://*.inc-aus.com/*",
"*://*.inc.com/*", "*://*.inc.com/*",
"*://*.inc42.com/*", "*://*.inc42.com/*",
"*://*.independent.co.uk/*", "*://*.independent.co.uk/*",
@ -639,6 +640,7 @@
"*://*.slideshare.net/*", "*://*.slideshare.net/*",
"*://*.sloanreview.mit.edu/*", "*://*.sloanreview.mit.edu/*",
"*://*.sltrib.com/*", "*://*.sltrib.com/*",
"*://*.smartcompany.com.au/*",
"*://*.smh.com.au/*", "*://*.smh.com.au/*",
"*://*.sn.at/*", "*://*.sn.at/*",
"*://*.sofrep.com/*", "*://*.sofrep.com/*",
@ -720,6 +722,7 @@
"*://*.thejuggernaut.com/*", "*://*.thejuggernaut.com/*",
"*://*.thelampmagazine.com/*", "*://*.thelampmagazine.com/*",
"*://*.thelawyersdaily.ca/*", "*://*.thelawyersdaily.ca/*",
"*://*.themandarin.com.au/*",
"*://*.themarker.com/*", "*://*.themarker.com/*",
"*://*.themarket.ch/*", "*://*.themarket.ch/*",
"*://*.themercury.com.au/*", "*://*.themercury.com.au/*",
@ -872,5 +875,5 @@
"*://archive.vn/*", "*://archive.vn/*",
"*://webcache.googleusercontent.com/*" "*://webcache.googleusercontent.com/*"
], ],
"version": "3.6.3.0" "version": "3.6.3.1"
} }

View file

@ -488,11 +488,6 @@ var defaultSites = {
} }
] ]
}, },
"Crikey.com.au": {
domain: "crikey.com.au",
block_regex: /\.crickey\.com\.au\/zephr\/feature/,
remove_cookies_select_drop: ["blaize_session"]
},
"Crusoe.com.br": { "Crusoe.com.br": {
domain: "crusoe.com.br", domain: "crusoe.com.br",
allow_cookies: 1, allow_cookies: 1,
@ -2025,6 +2020,23 @@ var defaultSites = {
domain: "penews.com", domain: "penews.com",
useragent: "googlebot" useragent: "googlebot"
}, },
"Private Media AU": {
domain: "###_au_private_media",
group: [
"crikey.com.au",
"inc-aus.com",
"smartcompany.com.au",
"themandarin.com.au"
],
block_regex: /\.{domain}\/zephr\/feature/,
remove_cookies_select_drop: ["blaize_session"],
exception: [{
domain: "themandarin.com.au",
allow_cookies: 1,
cs_dompurify: 1
}
]
},
"Profil.at": { "Profil.at": {
domain: "profil.at", domain: "profil.at",
allow_cookies: 1, allow_cookies: 1,

View file

@ -5,12 +5,6 @@
"block_regex": "\\/steadyhq\\.com", "block_regex": "\\/steadyhq\\.com",
"upd_version": "3.6.1.5" "upd_version": "3.6.1.5"
}, },
"Bar and Bench": {
"domain": "barandbench.com",
"allow_cookies": 1,
"ld_json": "div[id*='paywall-banner']|div[class^='paywall-story-']",
"upd_version": "3.6.0.5"
},
"Capital.fr": { "Capital.fr": {
"domain": "capital.fr", "domain": "capital.fr",
"allow_cookies": 1, "allow_cookies": 1,
@ -23,39 +17,11 @@
"block_regex": "js\\.pelcro\\.com", "block_regex": "js\\.pelcro\\.com",
"upd_version": "3.6.2.5" "upd_version": "3.6.2.5"
}, },
"Grupo Clarín": { "Inc-aus.com": {
"domain": "###_ar_grupo_clarin", "domain": "inc-aus.com",
"group": [ "block_regex": "\\.inc-aus\\.com\\/zephr\\/feature",
"clarin.com", "remove_cookies_select_drop": ["blaize_session"],
"lavoz.com.ar", "upd_version": "3.6.3.1"
"losandes.com.ar"
],
"allow_cookies": 1,
"block_regex": "\\.clarin\\.com\\/js\\/(meter|zonda-).*\\.js",
"exception": [{
"domain": "lavoz.com.ar",
"allow_cookies": 1,
"block_regex": "cdn\\.wyleex\\.com\\/lavoz\\/pw\\.min\\.js"
}, {
"domain": "losandes.com.ar",
"allow_cookies": 1,
"block_regex": "cdn\\.lavoz\\.com\\.ar\\/sites\\/.+\\/paywall\\/losandes\\/pw\\.js"
}
],
"upd_version": "3.6.0.7"
},
"Haaretz Group": {
"domain": "###_il_haaretz_group",
"group": [
"haaretz.co.il",
"haaretz.com",
"themarker.com"
],
"allow_cookies": 1,
"block_regex": "{domain}\\/.+\\/page-.+\\.js",
"cs_dompurify": 1,
"useragent_custom": "Mozilla/5.0 (Java) outbrain",
"upd_version": "3.6.0.4"
}, },
"L'Humanité": { "L'Humanité": {
"domain": "humanite.fr", "domain": "humanite.fr",
@ -94,12 +60,6 @@
"cs_code": "[{\"cond\":\".nzzinteraction\", \"rm_class\":\"nzzinteraction\"}]", "cs_code": "[{\"cond\":\".nzzinteraction\", \"rm_class\":\"nzzinteraction\"}]",
"upd_version": "3.6.2.1" "upd_version": "3.6.2.1"
}, },
"Newslaundry": {
"domain": "newslaundry.com",
"allow_cookies": 1,
"ld_json": "div.FrsvM|div.story-element-text",
"upd_version": "3.6.0.8"
},
"Nordwest Zeitung": { "Nordwest Zeitung": {
"domain": "nwzonline.de", "domain": "nwzonline.de",
"allow_cookies": 1, "allow_cookies": 1,
@ -118,6 +78,12 @@
"block_regex": "(\\.piano\\.io\\/xbuilder\\/experience\\/execute|cdn\\.ampproject\\.org(\\/.+)?\\/v\\d\\/amp-(access|loader)-.+\\.js)", "block_regex": "(\\.piano\\.io\\/xbuilder\\/experience\\/execute|cdn\\.ampproject\\.org(\\/.+)?\\/v\\d\\/amp-(access|loader)-.+\\.js)",
"upd_version": "3.6.2.6" "upd_version": "3.6.2.6"
}, },
"Smartcompany.com.au": {
"domain": "smartcompany.com.au",
"block_regex": "\\.smartcompany\\.com\\.au\\/zephr\\/feature",
"remove_cookies_select_drop": ["blaize_session"],
"upd_version": "3.6.3.1"
},
"Spektrum.de": { "Spektrum.de": {
"domain": "spektrum.de", "domain": "spektrum.de",
"allow_cookies": 1, "allow_cookies": 1,
@ -130,18 +96,11 @@
"nofix": 1, "nofix": 1,
"upd_version": "3.6.1.6" "upd_version": "3.6.1.6"
}, },
"The News Minute": { "Themandarin.com.au": {
"domain": "thenewsminute.com", "domain": "themandarin.com.au",
"allow_cookies": 1, "allow_cookies": 1,
"ld_json": "div[id*='paywall-banner']|div[class^='paywall-story-']", "ld_json_url": "div[data-enterprise-agreement-paywall='true']|div.paywall-mandy",
"upd_version": "3.6.0.5" "upd_version": "3.6.3.1"
},
"The Wall Street Journal": {
"domain": "wsj.com",
"allow_cookies": 1,
"block_regex": "(cdn\\.cxense\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)",
"cs_dompurify": 1,
"upd_version": "3.6.0.6"
}, },
"WirtschaftsWoche": { "WirtschaftsWoche": {
"domain": "wiwo.de", "domain": "wiwo.de",

View file

@ -2,8 +2,8 @@
"addons": { "addons": {
"magnolia@12.34": { "magnolia@12.34": {
"updates": [ "updates": [
{ "version": "3.6.2.0", { "version": "3.6.3.0",
"update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-3.6.2.0.xpi" } "update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-3.6.3.0.xpi" }
] ]
} }
} }