Add The Scientist (archive)

merge-requests/16/head
magnolia1234 9 months ago
parent 11e65a67ca
commit 3832ece672

@ -149,6 +149,7 @@ Grouped in options:\
[Popular Science](https://www.popsci.com) -
[Science](https://www.science.org)* -
[Scientific American](https://www.scientificamerican.com) -
[The Scientist](https://www.the-scientist.com) -
[Times Higher Education](https://www.timeshighereducation.com) -
[VentureBeat](https://venturebeat.com)

@ -5,6 +5,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
Post-release
Add Beleggersbelangen.nl (Roularta)
Add Revista Oeste (Brazil)
Add The Scientist (archive)
Add Wissenschaft.de
Fix BQ Prime (js)
Fix Clarin (js & error)

@ -4656,6 +4656,16 @@ else if (matchDomain('the-american-interest.com')) {
removeDOMElement(counter);
}
else if (matchDomain('the-scientist.com')) {
let paywall = document.querySelector('div.paywall');
if (paywall) {
paywall.classList.remove('paywall');
let fader = document.querySelector('div.gated-fader');
let modal = document.querySelector('div#Modal');
removeDOMElement(fader, modal);
}
}
else if (matchDomain('theamericanconservative.com')) {
let paywall = document.querySelector('section.c-blog-post__body--locked');
if (paywall && dompurify_loaded) {

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.3.1.7"
"version": "3.3.1.8"
}

@ -266,6 +266,12 @@
"domain": "lagazettedescommunes.com",
"useragent": "googlebot"
},
"Lefigaro.fr": {
"add_ext_link": "div#fig-premium-paywall|article",
"add_ext_link_type": "archive.is",
"allow_cookies": 1,
"domain": "lefigaro.fr"
},
"Libraryjournal.com": {
"allow_cookies": 1,
"block_regex": "\\.libraryjournal.com\\.com\\/.+\\/js\\/metering\\.js",
@ -405,6 +411,13 @@
"Physicsworld.com": {
"domain": "physicsworld.com"
},
"Portfolio.hu": {
"add_ext_link": "section.paywall|article",
"add_ext_link_type": "archive.is",
"allow_cookies": 1,
"domain": "portfolio.hu",
"useragent": "googlebot"
},
"Pressandjournal.co.uk": {
"allow_cookies": 1,
"domain": "pressandjournal.co.uk",

@ -637,6 +637,7 @@
"*://*.tennessean.com/*",
"*://*.tes.com/*",
"*://*.the-american-interest.com/*",
"*://*.the-scientist.com/*",
"*://*.the-tls.co.uk/*",
"*://*.theadvocate.com.au/*",
"*://*.theadvocate.com/*",
@ -795,5 +796,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.3.1.7"
"version": "3.3.1.8"
}

@ -2267,6 +2267,10 @@ var defaultSites = {
domain: "thesaturdaypaper.com.au",
block_regex: /\.thesaturdaypaper\.com\.au\/sites\/all\/modules\/custom\/node_meter\/pw\.js/
},
"The Scientist (archive)": {
domain: "the-scientist.com",
allow_cookies: 1
},
"The Seattle Times": {
domain: "seattletimes.com",
allow_cookies: 1,

@ -104,5 +104,11 @@
"block_regex": "(\\.nytimes\\.com\\/meter\\.js|mwcm\\.nyt\\.com\\/.+\\.js|cooking\\.nytimes\\.com\\/api\\/.+\\/access)",
"useragent": "googlebot",
"upd_version": "3.1.4.0"
},
"The Scientist (archive)": {
"domain": "the-scientist.com",
"allow_cookies": 1,
"cs_code": "[{\"cond\":\"div.paywall\", \"rm_class\":\"paywall\", \"elems\":[{\"cond\":\"div.gated-fader\", \"rm_elem\": 1}, {\"cond\":\"div#Modal\", \"rm_elem\": 1}]}]",
"upd_version": "3.3.1.8"
}
}

Loading…
Cancel
Save