diff --git a/changelog.txt b/changelog.txt index 9002bc91..11d2540e 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Add BQ Prime (former Bloomberg Quint) +Fix Knack.be & LeVif.be Fix Times of India (no amp) * v2.7.3.0 (2022-06-26) diff --git a/contentScript.js b/contentScript.js index 3e52cb18..7dc8dcc2 100644 --- a/contentScript.js +++ b/contentScript.js @@ -1905,12 +1905,15 @@ else if (matchDomain(['gva.be', 'hbvl.be', 'nieuwsblad.be'])) { }, 500); // Delay (in milliseconds) } - else if (matchDomain(['knack.be', 'levif.be'])) { - let paywall = document.querySelector('#paywall-modal'); + let paywall = document.querySelector('#paywall-modal, #datawall-modal'); if (paywall) { removeDOMElement(paywall); - document.querySelector('html').setAttribute('style', 'overflow-y: visible !important'); + function knack_noscroll(node) { + node.removeAttribute('style'); + node.removeAttribute('class'); + } + waitDOMAttribute('html', 'html', 'style', knack_noscroll, true); } } diff --git a/custom/sites_custom.json b/custom/sites_custom.json index 0a78453f..cc4aefc7 100644 --- a/custom/sites_custom.json +++ b/custom/sites_custom.json @@ -136,6 +136,9 @@ "allow_cookies": 1, "domain": "supchina.com" }, + "Swarajyamag.com": { + "domain": "swarajyamag.com" + }, "The-japan-news.com": { "domain": "the-japan-news.com" }, diff --git a/manifest.json b/manifest.json index dc0b74cf..6ec33907 100644 --- a/manifest.json +++ b/manifest.json @@ -687,5 +687,5 @@ "*://*.wsj.net/*", "*://webcache.googleusercontent.com/*" ], - "version": "2.7.3.1" + "version": "2.7.3.2" } diff --git a/sites.js b/sites.js index 30193a51..a6ff59d2 100644 --- a/sites.js +++ b/sites.js @@ -863,7 +863,7 @@ var defaultSites = { "Knack.be": { domain: "knack.be", allow_cookies: 1, - block_regex: /(\.knack\.be\/js\/responsive\/rmg(Modal|Paywall)\.js|\.blueconic\.net\/)/ + block_regex: /\.blueconic\.net\// }, "Kölner Stadt-Anzeiger": { domain: "ksta.de", @@ -1022,7 +1022,7 @@ var defaultSites = { "Le Vif.be": { domain: "levif.be", allow_cookies: 1, - block_regex: /(\.levif\.be\/js\/responsive\/rmg(Modal|Paywall)\.js|\.blueconic\.net\/)/ + block_regex: /\.blueconic\.net\// }, "Lee Enterprises Group": { domain: "###_usa_lee_ent", @@ -1422,7 +1422,7 @@ var defaultSites = { allow_cookies: 1, block_regex: /\.tinypass\.com\// }, - "Quora": { + "Quora (not plus)": { domain: "quora.com", allow_cookies: 1, useragent: "googlebot" diff --git a/sites_updated.json b/sites_updated.json index 16343d0f..ddd0f55d 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -1,17 +1,20 @@ { "Artforum": { - "domain": "artforum.com" + "domain": "artforum.com", + "new_site": 1 }, "BQ Prime": { "domain": "bqprime.com", "allow_cookies": 1, "block_regex": "(cdn\\.cxense\\.com\\/|\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)", - "amp_unhide": 1 + "amp_unhide": 1, + "new_site": 1 }, "Initium Media": { "domain": "theinitium.com", "allow_cookies": 1, - "useragent": "googlebot" + "useragent": "googlebot", + "new_site": 1 }, "L'Avenir": { "domain": "lavenir.net", @@ -25,11 +28,13 @@ } ] } - ] + ], + "new_site": 1 }, "The Banker": { "allow_cookies": 1, "domain": "thebanker.com", - "useragent": "googlebot" + "useragent": "googlebot", + "new_site": 1 } }