mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:17:46 +01:00
Fix Quartz (js-newsletter)
This commit is contained in:
parent
3e034fdd37
commit
ef0461ebf4
5 changed files with 14 additions and 18 deletions
|
@ -3898,22 +3898,6 @@ else if (matchDomain('quora.com')) {
|
|||
}, 500);
|
||||
}
|
||||
|
||||
else if (matchDomain('qz.com')) {
|
||||
if (window.location.pathname.startsWith('/emails/')) {
|
||||
let paywall = document.querySelector('div.js_regwalled-content > div[class]');
|
||||
if (paywall) {
|
||||
paywall.removeAttribute('class');
|
||||
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');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('rugbypass.com')) {
|
||||
if (window.location.pathname.startsWith('/plus/')) {
|
||||
let paywall = document.querySelector('.premium-fold-bottom');
|
||||
|
|
|
@ -392,6 +392,12 @@
|
|||
"cs_code": "[{\"cond\":\"div[data-cy='upgradeAccountPaywall']\",\"rm_elem\":1,\"elems\":[{\"cond\":\"div.paywall\",\"rm_attrib\":\"class|style\"},{\"cond\":\"div.css-tu9vsa\",\"rm_attrib\":\"class\"}]}]",
|
||||
"domain": "stylist.co.uk"
|
||||
},
|
||||
"Substack.com": {
|
||||
"add_ext_link": "div.paywall:not(.modal-paywall)|div.available-content",
|
||||
"add_ext_link_type": "google_search_tool",
|
||||
"allow_cookies": 1,
|
||||
"domain": "substack.com"
|
||||
},
|
||||
"Supchina.com": {
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.tinypass\\.com",
|
||||
|
|
|
@ -731,6 +731,7 @@
|
|||
"*://*.flip-pay.com/*",
|
||||
"*://*.gitlab.com/magnolia1234/*",
|
||||
"*://*.hadrianpaywall.com/*",
|
||||
"*://*.kinja-static.com/*",
|
||||
"*://*.medscapestatic.com/*",
|
||||
"*://*.ndcmediagroep.nl/*",
|
||||
"*://*.nyt.com/*",
|
||||
|
|
4
sites.js
4
sites.js
|
@ -1578,10 +1578,10 @@ var defaultSites = {
|
|||
domain: "puck.news",
|
||||
allow_cookies: 1
|
||||
},
|
||||
"Quartz": {
|
||||
"Quartz (newsletter)": {
|
||||
domain: "qz.com",
|
||||
allow_cookies: 1,
|
||||
block_regex: /\.tinypass\.com\//
|
||||
block_regex: /\.kinja-static\.com\/assets\/.+\/regwalled-content.+\.js/
|
||||
},
|
||||
"Quillette (link to archive.is)": {
|
||||
domain: "quillette.com",
|
||||
|
|
|
@ -75,5 +75,10 @@
|
|||
"NK News (free articles only)": {
|
||||
"domain": "nknews.org",
|
||||
"remove_cookies_select_drop": ["issuem_lp", "issuem_lp_kp"]
|
||||
},
|
||||
"Quartz": {
|
||||
"domain": "qz.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.kinja-static\\.com\\/assets\\/.+\\/regwalled-content.+\\.js"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue