mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-13 19:11:59 +00:00
Add Motor Presse Stuttgart
This commit is contained in:
parent
1007eeccb5
commit
b34576fea4
@ -596,7 +596,6 @@ Grouped in options:\
|
||||
##### Germany/Austria
|
||||
[Ärzte Zeitung](https://www.aerztezeitung.de) -
|
||||
[Augsburger Allgemeine](https://www.augsburger-allgemeine.de) -
|
||||
[Auto Motor und Sport](https://www.auto-motor-und-sport.de) -
|
||||
[Automobilwoche](https://www.automobilwoche.de) -
|
||||
[Berliner Zeitung](https://www.berliner-zeitung.de) -
|
||||
[Bild (link to archive.is)](https://www.bild.de) -
|
||||
@ -666,6 +665,12 @@ Grouped in options:\
|
||||
*Medienholding Süd* sites like (opt-in to custom sites for unlisted)\
|
||||
[Stuttgarter Nachrichten](https://www.stuttgarter-nachrichten.de) -
|
||||
[Stuttgarter Zeitung](https://www.stuttgarter-zeitung.de)\
|
||||
*[Motor Presse Stuttgart](https://www.motorpresse.de)* sites like\
|
||||
[Aerokurier](https://www.aerokurier.de) -
|
||||
[Auto Motor und Sport](https://www.auto-motor-und-sport.de) -
|
||||
[Flug Revue](https://www.flugrevue.de) -
|
||||
[Motorrad](https://www.motorradonline.de) -
|
||||
[Women's Health](https://www.womenshealth.de)\
|
||||
*NOZ/MHN Mediengruppe* sites like\
|
||||
[Neue Osnabrücker Zeitung](https://www.noz.de) -
|
||||
[Schleswig-Holsteinischer Zeitungsverlag](https://www.shz.de) -
|
||||
|
@ -32,7 +32,7 @@ var restrictions = {
|
||||
'ft.com': /^((?!\/cn\.ft\.com\/).)*$/,
|
||||
'hilltimes.com': /^((?!\.hilltimes\.com\/slideshow\/).)*$/,
|
||||
'lopinion.fr': /^((?!\.lopinion\.fr\/lejournal).)*$/,
|
||||
'nytimes.com': /^((?!\/(myaccount|timesmachine)\.nytimes\.com\/).)*$/,
|
||||
'nytimes.com': /^((?!\/(help|myaccount|timesmachine)\.nytimes\.com\/).)*$/,
|
||||
'science.org': /^((?!\.science\.org\/doi\/).)*$/,
|
||||
'timesofindia.com': /\.timesofindia\.com($|\/($|toi-plus(\/.+)?|.+\.cms))/,
|
||||
'quora.com': /^((?!quora\.com\/search\?q=).)*$/,
|
||||
@ -529,7 +529,7 @@ ext_api.storage.local.get({
|
||||
} else {
|
||||
ext_api.management.getSelf(function (result) {
|
||||
if ((result.installType === 'development' || (result.installType !== 'development' && !enabledSites.includes('#options_on_update')))) {
|
||||
let new_groups = ['###_au_investsmart', '###_es_epiberica, ###_il_haaretz_group'];
|
||||
let new_groups = ['###_au_investsmart', '###_de_motor_presse', '###_es_epiberica, ###_il_haaretz_group'];
|
||||
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)
|
||||
ext_api.runtime.openOptionsPage();
|
||||
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
||||
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
||||
|
||||
Post-release
|
||||
Add Motor Presse Stuttgart
|
||||
Add JournaldeMillau.fr (Groupe La Depeche)
|
||||
Remove Bhaskar (fix obsolete)
|
||||
Remove Westfalische Mediengruppe (fix obsolete)
|
||||
|
@ -122,7 +122,7 @@ if (bg2csData.ld_json_next && dompurify_loaded) {
|
||||
let url_next = findKeyJson(json, ['slug']);
|
||||
if (url_next && !window.location.pathname.endsWith(url_next))
|
||||
refreshCurrentTab();
|
||||
let json_text = parseHtmlEntities(findKeyJson(json, ['body', 'content', 'description'], 500));
|
||||
let json_text = parseHtmlEntities(findKeyJson(json, ['body', 'content', 'contentHtml', 'description'], 500));
|
||||
if (json_text) {
|
||||
let parser = new DOMParser();
|
||||
let doc = parser.parseFromString('<div>' + DOMPurify.sanitize(json_text, dompurify_options) + '</div>', 'text/html');
|
||||
@ -1121,6 +1121,11 @@ else if (matchDomain('kurier.at')) {
|
||||
removeDOMElement(...banners);
|
||||
}
|
||||
|
||||
else if (matchDomain('motorradonline.de')) {
|
||||
if (window.location.pathname.endsWith('/amp/'))
|
||||
ampToHtml();
|
||||
}
|
||||
|
||||
else if (matchDomain(['mz.de', 'volksstimme.de'])) {
|
||||
let url = window.location.href;
|
||||
getGoogleWebcache(url, 'div.fp-paywall', '', 'div[data-t-name="Article"]');
|
||||
|
@ -51,5 +51,5 @@
|
||||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.4.9.6"
|
||||
"version": "3.4.9.7"
|
||||
}
|
||||
|
@ -201,7 +201,7 @@
|
||||
"ld_json": "div.pmpro_content_message|div.content-inner"
|
||||
},
|
||||
"Farmersjournal.ie": {
|
||||
"amp_redirect": "div#memberplusModal",
|
||||
"amp_redirect": "div#memberplusModal.in",
|
||||
"domain": "farmersjournal.ie"
|
||||
},
|
||||
"Finance.si": {
|
||||
|
@ -62,6 +62,7 @@
|
||||
"*://*.adage.com/*",
|
||||
"*://*.adelaidenow.com.au/*",
|
||||
"*://*.adweek.com/*",
|
||||
"*://*.aerokurier.de/*",
|
||||
"*://*.aerztezeitung.de/*",
|
||||
"*://*.afr.com/*",
|
||||
"*://*.aisnenouvelle.fr/*",
|
||||
@ -267,6 +268,7 @@
|
||||
"*://*.fiskeribladet.no/*",
|
||||
"*://*.flair.be/*",
|
||||
"*://*.flair.nl/*",
|
||||
"*://*.flugrevue.de/*",
|
||||
"*://*.fnlondon.com/*",
|
||||
"*://*.forbes.com/*",
|
||||
"*://*.foreignaffairs.com/*",
|
||||
@ -472,6 +474,7 @@
|
||||
"*://*.modernhealthcare.com/*",
|
||||
"*://*.monacomatin.mc/*",
|
||||
"*://*.monocle.com/*",
|
||||
"*://*.motorradonline.de/*",
|
||||
"*://*.mundodeportivo.com/*",
|
||||
"*://*.mv-voice.com/*",
|
||||
"*://*.mz.de/*",
|
||||
@ -760,6 +763,7 @@
|
||||
"*://*.winnipegfreepress.com/*",
|
||||
"*://*.wired.com/*",
|
||||
"*://*.wochenblatt.com/*",
|
||||
"*://*.womenshealth.de/*",
|
||||
"*://*.womenshealthmag.com/*",
|
||||
"*://*.womensrunning.com/*",
|
||||
"*://*.wonderzine.com/*",
|
||||
@ -823,5 +827,5 @@
|
||||
"*://archive.vn/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.4.9.6"
|
||||
"version": "3.4.9.7"
|
||||
}
|
||||
|
17
sites.js
17
sites.js
@ -184,11 +184,6 @@ var defaultSites = {
|
||||
allow_cookies: 1,
|
||||
block_regex: /(\.piano\.io\/xbuilder\/experience\/execute|cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js)/
|
||||
},
|
||||
"Auto Motor und Sport": {
|
||||
domain: "auto-motor-und-sport.de",
|
||||
allow_cookies: 1,
|
||||
block_regex: /\.auto-motor-und-sport\.de\/thenewsbar\/static\/pw\.js/
|
||||
},
|
||||
"Autocar.co.uk": {
|
||||
domain: "autocar.co.uk",
|
||||
allow_cookies: 1,
|
||||
@ -1634,6 +1629,18 @@ var defaultSites = {
|
||||
domain: "monocle.com",
|
||||
useragent: "googlebot"
|
||||
},
|
||||
"Motor Presse Stuttgart": {
|
||||
domain: "###_de_motor_presse",
|
||||
group: [
|
||||
"aerokurier.de",
|
||||
"auto-motor-und-sport.de",
|
||||
"flugrevue.de",
|
||||
"motorradonline.de",
|
||||
"womenshealth.de"
|
||||
],
|
||||
allow_cookies: 1,
|
||||
block_regex: /\.de\/thenewsbar\/static\/pw\.js/
|
||||
},
|
||||
"Mountain View Voice": {
|
||||
domain: "mv-voice.com"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user