mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-13 02:04:16 +01:00
Add Times Higher Education
This commit is contained in:
parent
aa0f6e41c0
commit
4104cd3f65
6 changed files with 21 additions and 4 deletions
|
@ -61,9 +61,10 @@ So don't update to Firefox 79 or use F-droid's [Fennec-release](https://f-droid.
|
||||||
[MIT Technology Review](https://www.technologyreview.com) -
|
[MIT Technology Review](https://www.technologyreview.com) -
|
||||||
[National Geographic USA](https://www.nationalgeographic.com) -
|
[National Geographic USA](https://www.nationalgeographic.com) -
|
||||||
[Nautilus](https://nautil.us) -
|
[Nautilus](https://nautil.us) -
|
||||||
|
[Scientific American](https://www.scientificamerican.com)* -
|
||||||
|
[Times Higher Education](https://www.timeshighereducation.com) -
|
||||||
[Towards Data Science](https://www.towardsdatascience.com) -
|
[Towards Data Science](https://www.towardsdatascience.com) -
|
||||||
[Wired](https://www.wired.com) -
|
[Wired](https://www.wired.com)
|
||||||
[Scientific American](https://www.scientificamerican.com)*
|
|
||||||
|
|
||||||
#### Encyclopedia/Book library/Knowledge base
|
#### Encyclopedia/Book library/Knowledge base
|
||||||
[BBC History Extra](https://www.historyextra.com) -
|
[BBC History Extra](https://www.historyextra.com) -
|
||||||
|
|
|
@ -72,6 +72,7 @@ var allow_cookies = [
|
||||||
'the-american-interest.com',
|
'the-american-interest.com',
|
||||||
'thehindu.com',
|
'thehindu.com',
|
||||||
'themarker.com',
|
'themarker.com',
|
||||||
|
'timeshighereducation.com',
|
||||||
'trouw.nl',
|
'trouw.nl',
|
||||||
'variety.com',
|
'variety.com',
|
||||||
'volkskrant.nl',
|
'volkskrant.nl',
|
||||||
|
|
|
@ -1107,6 +1107,19 @@ else if (matchDomain("nationalreview.com")) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (matchDomain("timeshighereducation.com")) {
|
||||||
|
let paywall_cta = document.querySelector('div.paywall-cta');
|
||||||
|
if (paywall_cta) {
|
||||||
|
paywall_cta.removeAttribute('style');
|
||||||
|
let hidden_divs = document.querySelectorAll('div[style="display: none;"]');
|
||||||
|
for (let hidden_div of hidden_divs)
|
||||||
|
hidden_div.removeAttribute('style');
|
||||||
|
let paywall_fade = document.querySelector('div.paywall-fade');
|
||||||
|
if (paywall_fade)
|
||||||
|
paywall_fade.classList.remove('paywall-fade');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// General Functions
|
// General Functions
|
||||||
function removeDOMElement(...elements) {
|
function removeDOMElement(...elements) {
|
||||||
for (let element of elements) {
|
for (let element of elements) {
|
||||||
|
|
|
@ -250,6 +250,7 @@
|
||||||
"*://*.thestar.com/*",
|
"*://*.thestar.com/*",
|
||||||
"*://*.thetimes.co.uk/*",
|
"*://*.thetimes.co.uk/*",
|
||||||
"*://*.tijd.be/*",
|
"*://*.tijd.be/*",
|
||||||
|
"*://*.timeshighereducation.com/*",
|
||||||
"*://*.towardsdatascience.com/*",
|
"*://*.towardsdatascience.com/*",
|
||||||
"*://*.townsvillebulletin.com.au/*",
|
"*://*.townsvillebulletin.com.au/*",
|
||||||
"*://*.trouw.nl/*",
|
"*://*.trouw.nl/*",
|
||||||
|
@ -310,5 +311,5 @@
|
||||||
"webRequest",
|
"webRequest",
|
||||||
"webRequestBlocking"
|
"webRequestBlocking"
|
||||||
],
|
],
|
||||||
"version": "1.8.7.2"
|
"version": "1.8.7.3"
|
||||||
}
|
}
|
|
@ -40,5 +40,5 @@
|
||||||
"webRequest",
|
"webRequest",
|
||||||
"webRequestBlocking"
|
"webRequestBlocking"
|
||||||
],
|
],
|
||||||
"version": "1.8.7.2"
|
"version": "1.8.7.3"
|
||||||
}
|
}
|
1
sites.js
1
sites.js
|
@ -186,6 +186,7 @@ var defaultSites =
|
||||||
"The Toronto Star": "thestar.com",
|
"The Toronto Star": "thestar.com",
|
||||||
"The Wall Street Journal (not Chinese)": "wsj.com",
|
"The Wall Street Journal (not Chinese)": "wsj.com",
|
||||||
"The Washington Post": "washingtonpost.com",
|
"The Washington Post": "washingtonpost.com",
|
||||||
|
"Times Higher Education": "timeshighereducation.com",
|
||||||
"Towards Data Science": "towardsdatascience.com",
|
"Towards Data Science": "towardsdatascience.com",
|
||||||
"Trouw": "trouw.nl",
|
"Trouw": "trouw.nl",
|
||||||
"Valeurs Actuelles": "valeursactuelles.com",
|
"Valeurs Actuelles": "valeursactuelles.com",
|
||||||
|
|
Loading…
Reference in a new issue