Add VmnMedia.nl Group (opt-in to custom sites)

merge-requests/14/head
magnolia1234 1 year ago
parent 189e0e0095
commit cef2a0bc1f

@ -680,7 +680,8 @@ Grouped in options:\
[Flair.be](https://www.flair.be/nl) -
[Knack](https://www.knack.be) -
[Krant van West-Vlaanderen](https://kw.be) -
[Libelle.be](https://www.libelle.be)
[Libelle.be](https://www.libelle.be)\
*[VmnMedia Group](https://vmnmedia.nl)* sites (opt-in to custom sites)
##### Norway
[DN](https://www.dn.no)\

@ -1055,7 +1055,7 @@ if (matchUrlDomain(change_headers, details.url) && !ignore_types.includes(detail
if (kiwi_browser) {
let tabId = details.tabId;
if (tabId !== -1) {
if (['main_frame', 'sub_frame'].includes(details.type)) {
if (['main_frame', 'sub_frame', 'xmlhttprequest'].includes(details.type)) {
ext_api.tabs.get(tabId, function (tab) {
if (!ext_api.runtime.lastError && tab && isSiteEnabled(tab)) {
runOnTab(tab);
@ -1342,7 +1342,7 @@ function clear_cookies() {
if (rule.ld_json_next)
ld_json_next[custom_domain] = rule.ld_json_next;
if (rule.ld_google_webcache)
ld_google_webcache[domain] = rule.ld_google_webcache;
ld_google_webcache[custom_domain] = rule.ld_google_webcache;
if (rule.ld_json || rule.ld_json_next || rule.ld_google_webcache)
if (!dompurify_sites.includes(custom_domain))
dompurify_sites.push(custom_domain);

@ -4,6 +4,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
Post-release
Add GauchaZH
Add VmnMedia.nl Group (opt-in to custom sites)
Remove Weltkunst.de (fix obsolete)
* v3.1.9.0 (2023-05-21)

@ -90,6 +90,8 @@ window.setTimeout(function () {
} else if (hostname.endsWith('.nl')) {
if (document.querySelector('script[src*=".ndcmediagroep.nl/"]'))
group = '###_nl_mediahuis_noord';
else if (document.querySelector('link[rel="dns-prefetch"][href^="https://vmn-"][href$="imgix.net"]'))
group = '###_nl_vmnmedia';
} else if (hostname.endsWith('.co.uk')) {
if (document.querySelector('footer > div a[href^="https://www.nationalworldplc.com"]'))
group = '###_uk_nat_world';

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.1.9.1"
"version": "3.1.9.2"
}

@ -752,5 +752,5 @@
"*://*.wallkit.net/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.1.9.1"
"version": "3.1.9.2"
}

@ -2245,6 +2245,12 @@ var defaultSites = {
"wiesbadener-kurier.de"
]
},
"VmnMedia.nl Group (opt-in to custom sites)": {
domain: "###_nl_vmnmedia",
group: [],
allow_cookies: 1,
ld_google_webcache: "section[type='paywall']|main"
},
"Vogue Business": {
allow_cookies: 1,
domain: "voguebusiness.com",

Loading…
Cancel
Save