Add Chemical & Engineering News
parent
ca80797f8d
commit
4179a795e3
|
@ -73,6 +73,7 @@ Visit the [Firefox repository](https://github.com/magnolia1234/bypass-paywalls-f
|
||||||
##### Sports
|
##### Sports
|
||||||
[The Athletic](https://theathletic.com)
|
[The Athletic](https://theathletic.com)
|
||||||
##### Tech/Science
|
##### Tech/Science
|
||||||
|
[Chemical & Engineering News](https://cen.acs.org) -
|
||||||
[Dark Reading](https://darkreading.com) -
|
[Dark Reading](https://darkreading.com) -
|
||||||
[MIT Technology Review](https://www.technologyreview.com) -
|
[MIT Technology Review](https://www.technologyreview.com) -
|
||||||
[Towards Data Science](https://www.towardsdatascience.com) -
|
[Towards Data Science](https://www.towardsdatascience.com) -
|
||||||
|
|
|
@ -12,7 +12,6 @@ if (location.hostname.endsWith('rep.repubblica.it')) {
|
||||||
if (location.href.includes('/pwa/')) {
|
if (location.href.includes('/pwa/')) {
|
||||||
location.href = location.href.replace('/pwa/', '/ws/detail/');
|
location.href = location.href.replace('/pwa/', '/ws/detail/');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (location.href.includes('/ws/detail/')) {
|
if (location.href.includes('/ws/detail/')) {
|
||||||
const paywall = document.querySelector('.paywall[subscriptions-section="content"]');
|
const paywall = document.querySelector('.paywall[subscriptions-section="content"]');
|
||||||
if (paywall) {
|
if (paywall) {
|
||||||
|
@ -390,6 +389,13 @@ if (window.location.href.indexOf("folha.uol.com.br") !== -1) {
|
||||||
removeDOMElement(signup);
|
removeDOMElement(signup);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (window.location.href.indexOf("cen.acs.org") !== -1) {
|
||||||
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
const meteredBar = document.querySelector('.meteredBar');
|
||||||
|
removeDOMElement(meteredBar);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// General Functions
|
// General Functions
|
||||||
function removeDOMElement(...elements) {
|
function removeDOMElement(...elements) {
|
||||||
for (let element of elements) {
|
for (let element of elements) {
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
"Business Insider": "businessinsider.com",
|
"Business Insider": "businessinsider.com",
|
||||||
"Caixin Global": "caixinglobal.com",
|
"Caixin Global": "caixinglobal.com",
|
||||||
"Challenges": "challenges.fr",
|
"Challenges": "challenges.fr",
|
||||||
|
"Chemical & Engineering News": "cen.acs.org",
|
||||||
"Chicago Tribune": "chicagotribune.com",
|
"Chicago Tribune": "chicagotribune.com",
|
||||||
"Corriere Della Sera": "corriere.it",
|
"Corriere Della Sera": "corriere.it",
|
||||||
"Dagens Nyheter (free articles only)": "dn.se",
|
"Dagens Nyheter (free articles only)": "dn.se",
|
||||||
|
|
Loading…
Reference in New Issue