Fix Quartz (newsletter)

merge-requests/14/head
magnolia1234 1 year ago
parent cb271c68e4
commit 27eaf10d23

@ -4,6 +4,7 @@ Updates: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/release
Post-release
Fix NK News (pro)
Fix Quartz (newsletter)
* v3.0.6.0 (2023-02-19)
Add DHnet.be

@ -3960,11 +3960,13 @@ else if (matchDomain('quora.com')) {
else if (matchDomain('qz.com')) {
if (window.location.pathname.startsWith('/emails/')) {
let paywall = document.querySelector('div#email-content[class]');
let paywall = document.querySelector('div.js_regwalled-content > div[class]');
if (paywall) {
paywall.removeAttribute('class');
let login = pageContains('h2[class]', /^This story is exclusive to/);
removeDOMElement(login[0].parentElement);
paywall.parentNode.removeAttribute('class');
let login = pageContains('h2[class]', /This story is exclusive to/);
if (login.length)
removeDOMElement(login[0].parentNode);
let noscroll = document.querySelector('iframe[scrolling]');
if (noscroll)
noscroll.removeAttribute('scrolling');

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.0.6.1"
"version": "3.0.6.2"
}

@ -739,5 +739,5 @@
"*://*.wallkit.net/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.0.6.1"
"version": "3.0.6.2"
}

Loading…
Cancel
Save