Add Times Literary Supplement

master
magnolia1234 2019-12-05 21:15:21 +01:00 committed by GitHub
parent 8ab4d35140
commit b9079f69e5
4 changed files with 8 additions and 0 deletions

View File

@ -113,6 +113,7 @@
[The Wall Street Journal](https://www.wsj.com)\
[The Washington Post](https://www.washingtonpost.com)\
[TheMarker](https://www.themarker.com)\
[Times Literary Supplement](https://www.the-tls.co.uk)\
[Towards Data Science](https://www.towardsdatascience.com)\
[Trouw](https://www.trouw.nl)\
[Vanity Fair](https://www.vanityfair.com)\

View File

@ -102,6 +102,7 @@ var defaultSites = {
'The Toronto Star': 'thestar.com',
'The Washington Post': 'washingtonpost.com',
'The Wall Street Journal': 'wsj.com',
'Times Literary Supplement': 'the-tls.co.uk',
'Towards Data Science': 'towardsdatascience.com',
'Trouw': 'trouw.nl',
'Winston-Salem Journal': 'journalnow.com',

View File

@ -222,6 +222,11 @@ if (window.location.href.indexOf("bizjournals.com") !== -1) {
body_hidden.removeAttribute('style');
}
if (window.location.href.indexOf("the-tls.co.uk") !== -1) {
const paywall = document.querySelector('.tls-subscriptions-banner__closed-skin');
removeDOMElement(paywall);
}
function removeDOMElement(...elements) {
for (let element of elements) {
if (element)

View File

@ -97,6 +97,7 @@ var defaultSites = {
'The Toronto Star (javascript disabled)': 'thestar.com',
'The Washington Post': 'washingtonpost.com',
'The Wall Street Journal': 'wsj.com',
'Times Literary Supplement': 'the-tls.co.uk',
'Towards Data Science': 'towardsdatascience.com',
'Trouw': 'trouw.nl',
'Winston-Salem Journal': 'journalnow.com',