Add Times Higher Education
parent
bb0f4cc8a5
commit
6e00e6a2bb
|
@ -91,9 +91,10 @@ Visit the [Firefox repository](https://bitbucket.org/magnolia1234/bypass-paywall
|
|||
[MIT Technology Review](https://www.technologyreview.com) -
|
||||
[National Geographic USA](https://www.nationalgeographic.com) -
|
||||
[Nautilus](https://nautil.us) -
|
||||
[Scientific American](https://www.scientificamerican.com)* -
|
||||
[Times Higher Education](https://www.timeshighereducation.com) -
|
||||
[Towards Data Science](https://www.towardsdatascience.com) -
|
||||
[Wired](https://www.wired.com) -
|
||||
[Scientific American](https://www.scientificamerican.com)*
|
||||
[Wired](https://www.wired.com)
|
||||
|
||||
#### Encyclopedia/Book library/Knowledge base
|
||||
[BBC History Extra](https://www.historyextra.com) -
|
||||
|
|
|
@ -72,6 +72,7 @@ var allow_cookies = [
|
|||
'the-american-interest.com',
|
||||
'thehindu.com',
|
||||
'themarker.com',
|
||||
'timeshighereducation.com',
|
||||
'trouw.nl',
|
||||
'variety.com',
|
||||
'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
|
||||
function removeDOMElement(...elements) {
|
||||
for (let element of elements) {
|
||||
|
|
|
@ -238,6 +238,7 @@
|
|||
"*://*.thestar.com/*",
|
||||
"*://*.thetimes.co.uk/*",
|
||||
"*://*.tijd.be/*",
|
||||
"*://*.timeshighereducation.com/*",
|
||||
"*://*.towardsdatascience.com/*",
|
||||
"*://*.townsvillebulletin.com.au/*",
|
||||
"*://*.trouw.nl/*",
|
||||
|
@ -297,5 +298,5 @@
|
|||
"webRequest",
|
||||
"webRequestBlocking"
|
||||
],
|
||||
"version": "1.8.7.2"
|
||||
"version": "1.8.7.3"
|
||||
}
|
||||
|
|
|
@ -21,5 +21,5 @@
|
|||
"page": "options.html"
|
||||
},
|
||||
"permissions": [ "cookies", "<all_urls>", "storage", "webRequest", "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 Wall Street Journal (not Chinese)": "wsj.com",
|
||||
"The Washington Post": "washingtonpost.com",
|
||||
"Times Higher Education": "timeshighereducation.com",
|
||||
"Towards Data Science": "towardsdatascience.com",
|
||||
"Trouw": "trouw.nl",
|
||||
"Valeurs Actuelles": "valeursactuelles.com",
|
||||
|
|
Loading…
Reference in New Issue