implemented telegraaf paywall bypass

master
Shane 2019-06-02 13:33:52 +02:00
parent 80a37de45a
commit cbaaa70f54
4 changed files with 12 additions and 0 deletions

View File

@ -59,6 +59,7 @@ Quora (quora.com)\
San Francisco Chronicle (sfchronicle.com)\
Scientific American (scientificamerican.com)\
SunSentinel (sun-sentinel.com)\
Telegraaf (telegraaf.nl)\
The Advocate (theadvocate.com.au)\
The Age (theage.com.au)\
The Australian (theaustralian.com.au)\

View File

@ -46,6 +46,7 @@ var defaultSites = {
'San Francisco Chronicle': 'sfchronicle.com',
'Scientific American': 'scientificamerican.com',
'SunSentinel': 'sun-sentinel.com',
'Telegraaf': 'telegraaf.nl',
'The Advocate': 'theadvocate.com.au',
'The Age': 'theage.com.au',
'The Australian': 'theaustralian.com.au',
@ -97,6 +98,7 @@ const allow_cookies = [
'washingtonpost.com',
'nymag.com',
'theaustralian.com.au',
'telegraaf.nl', // keep accept cookies
'demorgen.be',
]
@ -128,6 +130,7 @@ const remove_cookies = [
'nymag.com',
'foreignaffairs.com',
'scientificamerican.com',
'telegraaf.nl',
'thestar.com',
'qz.com',
'demorgen.be',

View File

@ -24,4 +24,11 @@ if (window.location.href.indexOf("americanbanker.com") !== -1) {
if (paywall && paywall.length>0 ) {
paywall[0].className = "";
}
}
if (window.location.href.indexOf('telegraaf.nl') !== -1) {
const paywall = document.getElementById('TEMPRORARY_METERING_ID');
if (paywall) {
window.location.reload(1);
}
}

View File

@ -44,6 +44,7 @@ var defaultSites = {
'San Francisco Chronicle': 'sfchronicle.com',
'Scientific American': 'scientificamerican.com',
'SunSentinel': 'sun-sentinel.com',
'Telegraaf': 'telegraaf.nl',
'The Advocate': 'theadvocate.com.au',
'The Age': 'theage.com.au',
'The Australian': 'theaustralian.com.au',