Add Times Literary Supplement
parent
8ab4d35140
commit
b9079f69e5
|
@ -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)\
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue