Merge branch 'master' into master
This commit is contained in:
commit
84b38167de
@ -34,6 +34,7 @@
|
||||
[Eindhovens Dagblad](https://ed.nl)\
|
||||
[Encyclopedia Britannica](https://britannica.com)\
|
||||
[Examiner](https://examiner.com.au)\
|
||||
[First Things](https://www.firstthings.com)\
|
||||
[Financial News](https://fnlondon.com)\
|
||||
[Financial Times](https://www.ft.com)\
|
||||
[Foreign Policy](https://www.foreignpolicy.com)\
|
||||
|
@ -22,6 +22,7 @@ var defaultSites = {
|
||||
'Eindhovens Dagblad': 'ed.nl',
|
||||
'Encyclopedia Britannica': 'britannica.com',
|
||||
'Examiner': 'examiner.com.au',
|
||||
'First Things': 'firstthings.com',
|
||||
'Financial News': 'fnlondon.com',
|
||||
'Financial Times': 'ft.com',
|
||||
'Foreign Policy': 'foreignpolicy.com',
|
||||
@ -160,6 +161,7 @@ const remove_cookies = [
|
||||
'demorgen.be',
|
||||
'sloanreview.mit.edu',
|
||||
'zeit.de',
|
||||
'firstthings.com'
|
||||
]
|
||||
|
||||
// Override User-Agent with Googlebot
|
||||
|
@ -111,6 +111,11 @@ if (window.location.href.indexOf("parool.nl") !== -1 ||
|
||||
const hidden_section = document.querySelector('div[data-temptation-position="ARTICLE_INLINE"]');
|
||||
removeDOMElement(paywall, hidden_section);
|
||||
});
|
||||
|
||||
if (window.location.href.indexOf("firstthings.com") !== -1) {
|
||||
const paywall = document.getElementsByClassName('paywall')[0];
|
||||
|
||||
if(paywall) removeDOMElement(paywall);
|
||||
}
|
||||
|
||||
function removeDOMElement(...elements) {
|
||||
|
@ -19,6 +19,7 @@ var defaultSites = {
|
||||
'Encyclopedia Britannica': 'britannica.com',
|
||||
'Eindhovens Dagblad': 'ed.nl',
|
||||
'Examiner': 'examiner.com.au',
|
||||
'First Things': 'firstthings.com',
|
||||
'Financial News': 'fnlondon.com',
|
||||
'Financial Times': 'ft.com',
|
||||
'Foreign Policy': 'foreignpolicy.com',
|
||||
|
Loading…
x
Reference in New Issue
Block a user