Add OVB Media

This commit is contained in:
magnolia1234 2024-04-09 17:07:48 +02:00
parent fde5c2bd0e
commit de23a38f2a
9 changed files with 42 additions and 12 deletions

View file

@ -677,6 +677,8 @@ Grouped in options:\
[Neue Osnabrücker Zeitung](https://www.noz.de) - [Neue Osnabrücker Zeitung](https://www.noz.de) -
[Schleswig-Holsteinischer Zeitungsverlag](https://www.shz.de) - [Schleswig-Holsteinischer Zeitungsverlag](https://www.shz.de) -
[Schweriner Volkszeitung](https://www.svz.de)\ [Schweriner Volkszeitung](https://www.svz.de)\
*OVB Media* sites like (opt-in to custom sites for ovb24.de news portals)\
[Oberbayerisches Volksblatt](https://www.ovb-online.de)\
*Verlagsgruppe Rhein Main* sites like (opt-in to custom sites for unlisted)\ *Verlagsgruppe Rhein Main* sites like (opt-in to custom sites for unlisted)\
[Allgemeine Zeitung (Mainz)](https://www.allgemeine-zeitung.de) - [Allgemeine Zeitung (Mainz)](https://www.allgemeine-zeitung.de) -
[Darmstädter Echo](https://www.echo-online.de) - [Darmstädter Echo](https://www.echo-online.de) -

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 OVB Media (opt-in to custom sites for unlisted)
Add Private Media AU Add Private Media AU
* v3.6.3.0 (2024-04-07) * v3.6.3.0 (2024-04-07)

View file

@ -1381,7 +1381,7 @@ else if (matchDomain('tt.com')) {
try { try {
let json_articles = JSON.parse(json_script.text).TT_COM_WWW_GLOBAL_STATE.articles; let json_articles = JSON.parse(json_script.text).TT_COM_WWW_GLOBAL_STATE.articles;
let json_article_id = json_articles.ids[0]; let json_article_id = json_articles.ids[0];
if (json_article_id && !window.location.pathname.includes(json_article_id)) if (!json_article_id || (json_article_id && !window.location.pathname.includes(json_article_id)))
refreshCurrentTab(); refreshCurrentTab();
let parser = new DOMParser(); let parser = new DOMParser();
let pars = json_articles.entities[json_article_id].articleData.article.elements; let pars = json_articles.entities[json_article_id].articleData.article.elements;
@ -1394,6 +1394,17 @@ else if (matchDomain('tt.com')) {
if (par.type === 'subheadline1') if (par.type === 'subheadline1')
elem.style = 'font-weight: bold;'; elem.style = 'font-weight: bold;';
} }
} else if (par.type = 'x-im/content-part') {
if (par.elements) {
elem = document.createElement('p');
for (let item of par.elements) {
if (item.content) {
let sub_elem = document.createElement('p');
sub_elem.innerText = parseHtmlEntities(item.content);
elem.appendChild(sub_elem);
}
}
}
} else if (par.type.match(/^x-im\//)) { } else if (par.type.match(/^x-im\//)) {
if (par.url) { if (par.url) {
if (par.url.startsWith('https://twitter.com/')) { if (par.url.startsWith('https://twitter.com/')) {
@ -1550,6 +1561,11 @@ else if (matchDomain(de_motor_presse_domains)) {
hideDOMStyle(ads); hideDOMStyle(ads);
} }
else if (matchDomain('ovb-online.de') || matchDomain(['bgland24.de', 'chiemgau24.de', 'innsalzach24.de', 'mangfall24.de', 'rosenheim24.de', 'wasserburg24.de'])) {
let ads = 'div.id-TBeepSlot, div[data-id-advertdfpconf]';
hideDOMStyle(ads);
}
else if (matchDomain('ruhrnachrichten.de') || document.querySelector('a.mgw-logo[href^="https://mgw.de"]')) { else if (matchDomain('ruhrnachrichten.de') || document.querySelector('a.mgw-logo[href^="https://mgw.de"]')) {
let pathname = window.location.pathname; let pathname = window.location.pathname;
let article_id; let article_id;
@ -2103,7 +2119,7 @@ else if (matchDomain('lemonde.fr')) {
let figure = document.querySelector('figure.article__media'); let figure = document.querySelector('figure.article__media');
func_post = function () { func_post = function () {
if (figure) { if (figure) {
let figure_new = document.querySelector('article > figure'); let figure_new = document.querySelector('article figure');
let article = document.querySelector(article_sel); let article = document.querySelector(article_sel);
if (!figure_new && article) if (!figure_new && article)
article.firstChild.before(figure); article.firstChild.before(figure);
@ -3705,7 +3721,7 @@ else
if (matchDomain(usa_adv_local_domains)) { if (matchDomain(usa_adv_local_domains)) {
if (window.location.search.startsWith('?outputType=amp')) { if (window.location.search.startsWith('?outputType=amp')) {
let ads = 'amp-embed'; let ads = 'amp-embed';
hideDOMStyel(ads); hideDOMStyle(ads);
} else { } else {
let paywall_sel = 'div.paywall'; let paywall_sel = 'div.paywall';
let paywall = document.querySelector(paywall_sel); let paywall = document.querySelector(paywall_sel);

View file

@ -74,6 +74,8 @@ window.setTimeout(function () {
group = '###_de_mgw'; group = '###_de_mgw';
else if (matchDomain(['cannstatter-zeitung.de', 'esslinger-zeitung.de', 'frankenpost.de', 'insuedthueringen.de', 'krzbb.de', 'kurier.de', 'np-coburg.de'])) else if (matchDomain(['cannstatter-zeitung.de', 'esslinger-zeitung.de', 'frankenpost.de', 'insuedthueringen.de', 'krzbb.de', 'kurier.de', 'np-coburg.de']))
group = '###_de_mhs'; group = '###_de_mhs';
else if (matchDomain(['bgland24.de', 'chiemgau24.de', 'innsalzach24.de', 'mangfall24.de', 'rosenheim24.de', 'wasserburg24.de']))
group = '###_de_ovb_media';
else if (matchDomain(['buerstaedter-zeitung.de', 'hochheimer-zeitung.de', 'lampertheimer-zeitung.de', 'lauterbacher-anzeiger.de', 'main-spitze.de', 'mittelhessen.de', 'oberhessische-zeitung.de', 'wormser-zeitung.de'])) else if (matchDomain(['buerstaedter-zeitung.de', 'hochheimer-zeitung.de', 'lampertheimer-zeitung.de', 'lauterbacher-anzeiger.de', 'main-spitze.de', 'mittelhessen.de', 'oberhessische-zeitung.de', 'wormser-zeitung.de']))
group = '###_de_vrm'; group = '###_de_vrm';
else if (document.querySelector('head > link[href*="/assets.static-chmedia.ch/"]')) else if (document.querySelector('head > link[href*="/assets.static-chmedia.ch/"]'))

View file

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

View file

@ -620,12 +620,6 @@
"block_regex": "\\.opovo\\.com\\.br\\/.+\\/js\\/auth\\/auth_new_menu.min\\.js", "block_regex": "\\.opovo\\.com\\.br\\/.+\\/js\\/auth\\/auth_new_menu.min\\.js",
"domain": "opovo.com.br" "domain": "opovo.com.br"
}, },
"Ovb-online.de": {
"allow_cookies": 1,
"block_regex": "\\.ovb-online\\.de\\/sub\\/js\\/pc-offer-west\\.js",
"cs_code": "[{\"cond\":\"div.id-TBeepSlot\", \"rm_elem\":1}]",
"domain": "ovb-online.de"
},
"Overwaar.de": { "Overwaar.de": {
"allow_cookies": 1, "allow_cookies": 1,
"domain": "overwaar.de", "domain": "overwaar.de",

View file

@ -561,6 +561,7 @@
"*://*.outlookbusiness.com/*", "*://*.outlookbusiness.com/*",
"*://*.outlookindia.com/*", "*://*.outlookindia.com/*",
"*://*.outsideonline.com/*", "*://*.outsideonline.com/*",
"*://*.ovb-online.de/*",
"*://*.oxygenmag.com/*", "*://*.oxygenmag.com/*",
"*://*.paloaltoonline.com/*", "*://*.paloaltoonline.com/*",
"*://*.parismatch.com/*", "*://*.parismatch.com/*",
@ -875,5 +876,5 @@
"*://archive.vn/*", "*://archive.vn/*",
"*://webcache.googleusercontent.com/*" "*://webcache.googleusercontent.com/*"
], ],
"version": "3.6.3.1" "version": "3.6.3.2"
} }

View file

@ -1931,6 +1931,14 @@ var defaultSites = {
allow_cookies: 1, allow_cookies: 1,
block_regex: /\.tinypass\.com\// block_regex: /\.tinypass\.com\//
}, },
"OVB Media (opt-in to custom sites for ovb24.de news portals)": {
domain: "###_de_ovb_media",
group: [
"ovb-online.de"
],
allow_cookies: 1,
block_regex: "\\.{domain}\\/sub\\/js\\/pc-offer-west\\.js"
},
"Palo Alto Online": { "Palo Alto Online": {
domain: "paloaltoonline.com" domain: "paloaltoonline.com"
}, },
@ -3178,4 +3186,4 @@ var fr_indigo_nofix_domains = ['africaintelligence.com', 'africaintelligence.fr'
var fr_jamg_nofix_domains = ['africabusinessplus.com', 'jeuneafrique.com', 'theafricareport.com']; var fr_jamg_nofix_domains = ['africabusinessplus.com', 'jeuneafrique.com', 'theafricareport.com'];
var it_gedi_nofix_domains = ['gelocal.it', 'limesonline.com']; var it_gedi_nofix_domains = ['gelocal.it', 'limesonline.com'];
var nl_mediahuis_region_nofix_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl']; var nl_mediahuis_region_nofix_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl'];
var nofix_sites = ['11freunde.de', 'aamulehti.fi', 'aftenposten.no', 'aftonbladet.se', 'allgaeuer-zeitung.de', 'americanscientist.org', 'arkansasonline.com', 'asahi.com', 'asiatimes.com', 'aviationweek.com', 'badische-zeitung.de', 'bhaskar.com', 'bloomberglaw.com', 'bloombergtax.com', 'bnef.com', 'bnn.de', 'borsen.dk', 'businessdesk.co.nz', 'businessinsider.de', 'businessinsider.jp', 'businesslive.co.za', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'chegg.com', 'compactmag.com', 'coursehero.com', 'denikn.cz', 'deutsche-wirtschafts-nachrichten.de', 'die-glocke.de', 'dn.no', 'dn.se', 'elordenmundial.com', 'entrepreneur.com', 'epw.in', 'ewmagazine.nl', 'falter.at', 'finance.si', 'franc-tireur.fr', 'ftchinese.com', 'ftchineselive.com', 'gamestar.de', 'geo.de', 'golem.de', 'gp.se', 'handelsblatt.com', 'hbrarabic.com', 'hbrchina.org', 'hbrfrance.fr', 'heise.de', 'hs.fi', 'information.dk', 'investors.com', 'iltalehti.fi', 'jacobin.com', 'jungefreiheit.de', 'kleinezeitung.at', 'krone.at', 'laverita.info', 'lavie.fr', 'lavozdegalicia.es', 'law360.co.uk', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefigaro.fr', 'lefilmfrancais.com', 'lequipe.fr', 'lesjours.fr', 'letemps.ch', 'liberation.fr', 'libertiesjournal.com', 'lr-online.de', 'main-echo.de', 'mainpost.de', 'manager-magazin.de', 'maville.com', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'money.it', 'moneycontrol.com', 'moodys.com', 'morningstar.com', 'motorsport.com', 'moz.de', 'nachrichten.at', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'newcriterion.com', 'news24.com', 'nn.de', 'on3.com', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'puck.news', 'quillette.com', 'rbc.ru', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'sciencedirect.com', 'springer.com', 'statnews.com', 'stern.de', 'stimme.de', 'streetinsider.com', 'substack.com', 'svd.se', 'swp.de', 'taxation.co.uk', 'taxjournal.com', 'the-ken.com', 'thebanker.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thestar.com.my', 'thewirechina.com', 'timeslive.co.za', 'usine-digitale.fr', 'vedomosti.ru', 'weltwoche.ch', 'weltwoche.de', 'wissenschaft.de', 'worldpoliticsreview.com', 'wz.de', 'zaobao.com.sg'].concat(be_mediahuis_nofix_domains, de_funke_medien_nofix_domains, de_rp_aachen_medien_nofix_domains, de_westfalen_medien_nofix_domains, fr_be_groupe_rossel_nofix_domains, fr_groupe_ebra_nofix_domains, fr_indigo_nofix_domains, fr_jamg_nofix_domains, it_gedi_nofix_domains, nl_mediahuis_region_nofix_domains); var nofix_sites = ['11freunde.de', 'aamulehti.fi', 'aftenposten.no', 'aftonbladet.se', 'allgaeuer-zeitung.de', 'americanscientist.org', 'arkansasonline.com', 'asahi.com', 'asiatimes.com', 'aviationweek.com', 'badische-zeitung.de', 'bhaskar.com', 'bloomberglaw.com', 'bloombergtax.com', 'bnef.com', 'bnn.de', 'borsen.dk', 'businessdesk.co.nz', 'businessinsider.de', 'businessinsider.jp', 'businesslive.co.za', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'chegg.com', 'compactmag.com', 'coursehero.com', 'denikn.cz', 'deutsche-wirtschafts-nachrichten.de', 'die-glocke.de', 'dn.no', 'dn.se', 'elordenmundial.com', 'entrepreneur.com', 'epw.in', 'ewmagazine.nl', 'falter.at', 'finance.si', 'franc-tireur.fr', 'ftchinese.com', 'ftchineselive.com', 'gamestar.de', 'geo.de', 'golem.de', 'gp.se', 'handelsblatt.com', 'hbrarabic.com', 'hbrchina.org', 'hbrfrance.fr', 'heise.de', 'hs.fi', 'information.dk', 'investors.com', 'iltalehti.fi', 'jacobin.com', 'jungefreiheit.de', 'kleinezeitung.at', 'krone.at', 'laverita.info', 'lavie.fr', 'lavozdegalicia.es', 'law360.co.uk', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefigaro.fr', 'lefilmfrancais.com', 'lequipe.fr', 'lesjours.fr', 'letemps.ch', 'liberation.fr', 'libertiesjournal.com', 'lr-online.de', 'mailplus.co.uk', 'main-echo.de', 'mainpost.de', 'manager-magazin.de', 'maville.com', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'money.it', 'moneycontrol.com', 'moodys.com', 'morningstar.com', 'motorsport.com', 'moz.de', 'nachrichten.at', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'newcriterion.com', 'news24.com', 'nn.de', 'on3.com', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'puck.news', 'quillette.com', 'rbc.ru', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'sciencedirect.com', 'springer.com', 'statnews.com', 'stern.de', 'stimme.de', 'streetinsider.com', 'substack.com', 'svd.se', 'swp.de', 'taxation.co.uk', 'taxjournal.com', 'the-ken.com', 'thebanker.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thestar.com.my', 'thewirechina.com', 'timeslive.co.za', 'usine-digitale.fr', 'vedomosti.ru', 'weltwoche.ch', 'weltwoche.de', 'wissenschaft.de', 'worldpoliticsreview.com', 'wz.de', 'zaobao.com.sg'].concat(be_mediahuis_nofix_domains, de_funke_medien_nofix_domains, de_rp_aachen_medien_nofix_domains, de_westfalen_medien_nofix_domains, fr_be_groupe_rossel_nofix_domains, fr_groupe_ebra_nofix_domains, fr_indigo_nofix_domains, fr_jamg_nofix_domains, it_gedi_nofix_domains, nl_mediahuis_region_nofix_domains);

View file

@ -66,6 +66,12 @@
"block_regex": "\\.piano\\.io", "block_regex": "\\.piano\\.io",
"upd_version": "3.6.2.8" "upd_version": "3.6.2.8"
}, },
"Ovb-online.de": {
"domain": "ovb-online.de",
"allow_cookies": 1,
"block_regex": "\\.ovb-online\\.de\\/sub\\/js\\/pc-offer-west\\.js",
"upd_version": "3.6.3.2"
},
"Reuters": { "Reuters": {
"domain": "reuters.com", "domain": "reuters.com",
"allow_cookies": 1, "allow_cookies": 1,