diff --git a/README.md b/README.md index aa4aafdb..6f4e27b1 100644 --- a/README.md +++ b/README.md @@ -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) - [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) - diff --git a/background.js b/background.js index 8a083484..21c423b3 100644 --- a/background.js +++ b/background.js @@ -72,6 +72,7 @@ var allow_cookies = [ 'the-american-interest.com', 'thehindu.com', 'themarker.com', +'timeshighereducation.com', 'trouw.nl', 'variety.com', 'volkskrant.nl', diff --git a/contentScript.js b/contentScript.js index 080e704e..976e2812 100644 --- a/contentScript.js +++ b/contentScript.js @@ -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) { diff --git a/lp/manifest.json b/lp/manifest.json index c2c569fd..83be1ba7 100644 --- a/lp/manifest.json +++ b/lp/manifest.json @@ -250,6 +250,7 @@ "*://*.thestar.com/*", "*://*.thetimes.co.uk/*", "*://*.tijd.be/*", + "*://*.timeshighereducation.com/*", "*://*.towardsdatascience.com/*", "*://*.townsvillebulletin.com.au/*", "*://*.trouw.nl/*", @@ -310,5 +311,5 @@ "webRequest", "webRequestBlocking" ], - "version": "1.8.7.2" + "version": "1.8.7.3" } \ No newline at end of file diff --git a/manifest.json b/manifest.json index c6a95d94..1c68d3d3 100644 --- a/manifest.json +++ b/manifest.json @@ -40,5 +40,5 @@ "webRequest", "webRequestBlocking" ], - "version": "1.8.7.2" + "version": "1.8.7.3" } \ No newline at end of file diff --git a/sites.js b/sites.js index 428d9be2..3fa176e7 100644 --- a/sites.js +++ b/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",