diff --git a/README.md b/README.md index a6209ae6..c7959902 100644 --- a/README.md +++ b/README.md @@ -594,6 +594,7 @@ Grouped in options:\ [Salzburger Nachrichten](https://www.sn.at) - [Schwäbische Zeitung](https://www.schwaebische.de) - [Springer Medizin](https://www.springermedizin.de) - +[Vorarlberg Nachrichten](https://www.vn.at) - [Vorarlberg Online](https://www.vol.at) - [Weltkunst](https://www.weltkunst.de) - [Westdeutsche Zeitung](https://www.wz.de) diff --git a/changelog.txt b/changelog.txt index 329fd825..77aad28c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -6,6 +6,7 @@ Post-release Add Bhaskar (India) Add Granta Magazine (UK) Add Interesting Engineering +Add Vn.at Fix Media Group Westfalen Fix Mediahuis Nederland Regional (js) Fix NHST Media Group (js) diff --git a/contentScript.js b/contentScript.js index f30c448f..67f8d4f2 100644 --- a/contentScript.js +++ b/contentScript.js @@ -1147,6 +1147,25 @@ else if (matchDomain(['stuttgarter-nachrichten.de', 'stuttgarter-zeitung.de', 's 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')) { if (!window.location.pathname.match(/\/amp\/?$/)) { window.setTimeout(function () { diff --git a/custom/manifest.json b/custom/manifest.json index 1b7a2905..eb2b2efc 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -8,6 +8,9 @@ "id": "magnolia_limited_permissions@12.34", "update_url": "https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/raw/master/updates_custom.json", "strict_min_version": "86.0" + }, + "gecko_android": { + "strict_min_version": "86.0" } }, "browser_action": { @@ -51,5 +54,5 @@ "webRequestBlocking", "*://*/*" ], - "version": "3.3.6.6" + "version": "3.3.6.7" } diff --git a/custom/sites_custom.json b/custom/sites_custom.json index 0106a305..1c75349d 100644 --- a/custom/sites_custom.json +++ b/custom/sites_custom.json @@ -24,6 +24,11 @@ "cs_code": "[{\"cond\":\"body.nodetype--memo\", \"rm_class\":\"nodetype--memo\"}, {\"cond\":\"div.memo--callout--wrapper\",\"rm_elem\":1}]", "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": { "allow_cookies": 1, "domain": "asiamoney.com", @@ -92,6 +97,11 @@ "ld_json": "div.paywall|div.story-content|1", "useragent": "googlebot" }, + "Catholicherald.co.uk": { + "allow_cookies": 1, + "block_regex": "\\.catholicherald\\.co\\.uk\\/c\\/assets\\/pigeon\\.js", + "domain": "catholicherald.co.uk" + }, "Chicago.suntimes.com": { "allow_cookies": 1, "block_regex": "\\.tinypass\\.com", @@ -389,6 +399,12 @@ "allow_cookies": 1, "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": { "allow_cookies": 1, "domain": "medpagetoday.com", @@ -549,7 +565,8 @@ "Shrm.org": { "allow_cookies": 1, "block_regex": "\\.shrm\\.org\\/.+\\/js\\/paywall.+\\.js", - "domain": "shrm.org" + "domain": "shrm.org", + "useragent": "googlebot" }, "Siliconrepublic.com": { "allow_cookies": 1, @@ -693,7 +710,7 @@ "Thestage.co.uk": { "allow_cookies": 1, "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": { "allow_cookies": 1, @@ -710,6 +727,11 @@ "block_regex": "\\.toolkits\\.com\\/app\\/js\\/api\\.min\\.js", "domain": "toolkits.com" }, + "Utilityweek.co.uk": { + "allow_cookies": 1, + "domain": "utilityweek.co.uk", + "useragent": "googlebot" + }, "Washingtontimes.com": { "allow_cookies": 1, "block_regex": "\\.tinypass\\.com", diff --git a/manifest.json b/manifest.json index 783906ad..721a06cf 100644 --- a/manifest.json +++ b/manifest.json @@ -8,6 +8,9 @@ "id": "magnolia@12.34", "update_url": "https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/raw/master/updates.json", "strict_min_version": "86.0" + }, + "gecko_android": { + "strict_min_version": "86.0" } }, "browser_action": { @@ -724,6 +727,7 @@ "*://*.varmatin.com/*", "*://*.vegetariantimes.com/*", "*://*.vikatan.com/*", + "*://*.vn.at/*", "*://*.vn.nl/*", "*://*.vogue.com/*", "*://*.voguebusiness.com/*", @@ -801,5 +805,5 @@ "*://*.wyleex.com/*", "*://webcache.googleusercontent.com/*" ], - "version": "3.3.6.6" + "version": "3.3.6.7" } diff --git a/sites.js b/sites.js index 58c540de..ce38d3ab 100644 --- a/sites.js +++ b/sites.js @@ -2475,6 +2475,12 @@ var defaultSites = { domain: "voguebusiness.com", useragent: "facebookbot" }, + "Vorarlberg Nachrichten": { + domain: "vn.at", + allow_cookies: 1, + block_js_inline: /\.vn\.at\/.+\/\d{4}\//, + block_regex: /\.tinypass\.com\//, + }, "Vorarlberg Online": { domain: "vol.at", allow_cookies: 1,