Add Vn.at

This commit is contained in:
magnolia1234 2023-10-06 17:17:41 +02:00
parent edcb615cff
commit 3ad581b4f8
7 changed files with 60 additions and 4 deletions

View File

@ -594,6 +594,7 @@ Grouped in options:\
[Salzburger Nachrichten](https://www.sn.at) - [Salzburger Nachrichten](https://www.sn.at) -
[Schwäbische Zeitung](https://www.schwaebische.de) - [Schwäbische Zeitung](https://www.schwaebische.de) -
[Springer Medizin](https://www.springermedizin.de) - [Springer Medizin](https://www.springermedizin.de) -
[Vorarlberg Nachrichten](https://www.vn.at) -
[Vorarlberg Online](https://www.vol.at) - [Vorarlberg Online](https://www.vol.at) -
[Weltkunst](https://www.weltkunst.de) - [Weltkunst](https://www.weltkunst.de) -
[Westdeutsche Zeitung](https://www.wz.de) [Westdeutsche Zeitung](https://www.wz.de)

View File

@ -6,6 +6,7 @@ Post-release
Add Bhaskar (India) Add Bhaskar (India)
Add Granta Magazine (UK) Add Granta Magazine (UK)
Add Interesting Engineering Add Interesting Engineering
Add Vn.at
Fix Media Group Westfalen Fix Media Group Westfalen
Fix Mediahuis Nederland Regional (js) Fix Mediahuis Nederland Regional (js)
Fix NHST Media Group (js) Fix NHST Media Group (js)

View File

@ -1147,6 +1147,25 @@ else if (matchDomain(['stuttgarter-nachrichten.de', 'stuttgarter-zeitung.de', 's
removeDOMElement(banner); removeDOMElement(banner);
} }
else if (matchDomain('vn.at')) {
if (window.location.href.match(/\.vn\.at\/.+\/\d{4}\//)) {
let paywall = document.querySelector('div.paywalled-content');
if (paywall) {
csDoneOnce = true;
let par = paywall.querySelector('p');
if (!par) {
refreshCurrentTab_bg();
} else {
let lazy_images = document.querySelectorAll('img[src^="data:image/"][lazy-src]');
for (let elem of lazy_images) {
elem.src = elem.getAttribute('lazy-src');
}
}
} else
refreshCurrentTab_bg();
}
}
else if (matchDomain('vol.at')) { else if (matchDomain('vol.at')) {
if (!window.location.pathname.match(/\/amp\/?$/)) { if (!window.location.pathname.match(/\/amp\/?$/)) {
window.setTimeout(function () { window.setTimeout(function () {

View File

@ -8,6 +8,9 @@
"id": "magnolia_limited_permissions@12.34", "id": "magnolia_limited_permissions@12.34",
"update_url": "https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/raw/master/updates_custom.json", "update_url": "https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/raw/master/updates_custom.json",
"strict_min_version": "86.0" "strict_min_version": "86.0"
},
"gecko_android": {
"strict_min_version": "86.0"
} }
}, },
"browser_action": { "browser_action": {
@ -51,5 +54,5 @@
"webRequestBlocking", "webRequestBlocking",
"*://*/*" "*://*/*"
], ],
"version": "3.3.6.6" "version": "3.3.6.7"
} }

View File

@ -24,6 +24,11 @@
"cs_code": "[{\"cond\":\"body.nodetype--memo\", \"rm_class\":\"nodetype--memo\"}, {\"cond\":\"div.memo--callout--wrapper\",\"rm_elem\":1}]", "cs_code": "[{\"cond\":\"body.nodetype--memo\", \"rm_class\":\"nodetype--memo\"}, {\"cond\":\"div.memo--callout--wrapper\",\"rm_elem\":1}]",
"domain": "al-monitor.com" "domain": "al-monitor.com"
}, },
"Artsprofessional.co.uk": {
"allow_cookies": 1,
"block_regex": "\\.artsprofessional\\.co\\.uk\\/.+\\/js\\/content_paywall\\.js",
"domain": "artsprofessional.co.uk"
},
"Asiamoney.com": { "Asiamoney.com": {
"allow_cookies": 1, "allow_cookies": 1,
"domain": "asiamoney.com", "domain": "asiamoney.com",
@ -92,6 +97,11 @@
"ld_json": "div.paywall|div.story-content|1", "ld_json": "div.paywall|div.story-content|1",
"useragent": "googlebot" "useragent": "googlebot"
}, },
"Catholicherald.co.uk": {
"allow_cookies": 1,
"block_regex": "\\.catholicherald\\.co\\.uk\\/c\\/assets\\/pigeon\\.js",
"domain": "catholicherald.co.uk"
},
"Chicago.suntimes.com": { "Chicago.suntimes.com": {
"allow_cookies": 1, "allow_cookies": 1,
"block_regex": "\\.tinypass\\.com", "block_regex": "\\.tinypass\\.com",
@ -389,6 +399,12 @@
"allow_cookies": 1, "allow_cookies": 1,
"domain": "mediapart.fr" "domain": "mediapart.fr"
}, },
"Mediapost.com": {
"allow_cookies": 1,
"cs_code": "[{\"cond\":\"body[class]\", \"rm_attrib\":\"class\"}, {\"cond\":\"div.fade\", \"rm_elem\":1}]",
"domain": "mediapost.com",
"ld_google_webcache": "div.modal|div#article_body"
},
"Medpagetoday.com": { "Medpagetoday.com": {
"allow_cookies": 1, "allow_cookies": 1,
"domain": "medpagetoday.com", "domain": "medpagetoday.com",
@ -549,7 +565,8 @@
"Shrm.org": { "Shrm.org": {
"allow_cookies": 1, "allow_cookies": 1,
"block_regex": "\\.shrm\\.org\\/.+\\/js\\/paywall.+\\.js", "block_regex": "\\.shrm\\.org\\/.+\\/js\\/paywall.+\\.js",
"domain": "shrm.org" "domain": "shrm.org",
"useragent": "googlebot"
}, },
"Siliconrepublic.com": { "Siliconrepublic.com": {
"allow_cookies": 1, "allow_cookies": 1,
@ -693,7 +710,7 @@
"Thestage.co.uk": { "Thestage.co.uk": {
"allow_cookies": 1, "allow_cookies": 1,
"domain": "thestage.co.uk", "domain": "thestage.co.uk",
"ld_google_webcache": "div#ao-MeteringDNAllow|div[id^='aos-FeatureArticle']" "ld_google_webcache": "div#ao-MeteringDNAllow|div.aos-FeatureArticle"
}, },
"Tijorifinance.com": { "Tijorifinance.com": {
"allow_cookies": 1, "allow_cookies": 1,
@ -710,6 +727,11 @@
"block_regex": "\\.toolkits\\.com\\/app\\/js\\/api\\.min\\.js", "block_regex": "\\.toolkits\\.com\\/app\\/js\\/api\\.min\\.js",
"domain": "toolkits.com" "domain": "toolkits.com"
}, },
"Utilityweek.co.uk": {
"allow_cookies": 1,
"domain": "utilityweek.co.uk",
"useragent": "googlebot"
},
"Washingtontimes.com": { "Washingtontimes.com": {
"allow_cookies": 1, "allow_cookies": 1,
"block_regex": "\\.tinypass\\.com", "block_regex": "\\.tinypass\\.com",

View File

@ -8,6 +8,9 @@
"id": "magnolia@12.34", "id": "magnolia@12.34",
"update_url": "https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/raw/master/updates.json", "update_url": "https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/raw/master/updates.json",
"strict_min_version": "86.0" "strict_min_version": "86.0"
},
"gecko_android": {
"strict_min_version": "86.0"
} }
}, },
"browser_action": { "browser_action": {
@ -724,6 +727,7 @@
"*://*.varmatin.com/*", "*://*.varmatin.com/*",
"*://*.vegetariantimes.com/*", "*://*.vegetariantimes.com/*",
"*://*.vikatan.com/*", "*://*.vikatan.com/*",
"*://*.vn.at/*",
"*://*.vn.nl/*", "*://*.vn.nl/*",
"*://*.vogue.com/*", "*://*.vogue.com/*",
"*://*.voguebusiness.com/*", "*://*.voguebusiness.com/*",
@ -801,5 +805,5 @@
"*://*.wyleex.com/*", "*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*" "*://webcache.googleusercontent.com/*"
], ],
"version": "3.3.6.6" "version": "3.3.6.7"
} }

View File

@ -2475,6 +2475,12 @@ var defaultSites = {
domain: "voguebusiness.com", domain: "voguebusiness.com",
useragent: "facebookbot" useragent: "facebookbot"
}, },
"Vorarlberg Nachrichten": {
domain: "vn.at",
allow_cookies: 1,
block_js_inline: /\.vn\.at\/.+\/\d{4}\//,
block_regex: /\.tinypass\.com\//,
},
"Vorarlberg Online": { "Vorarlberg Online": {
domain: "vol.at", domain: "vol.at",
allow_cookies: 1, allow_cookies: 1,