mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 08:37:47 +01:00
Dutch papers/magazines
Adding Dutch papers: ad.nl, ed.nl, parool.nl, trouw.nl, telegraaf.nl Adding Dutch magazines: groene.nl, vn.nl Sites added to manifest.json to make contentScrip.js active (also added missing wsj.com, washingtonpost.com & nzherald.co.nz).
This commit is contained in:
parent
5fe7d7c40f
commit
6207ff6fb7
5 changed files with 72 additions and 4 deletions
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
### Bypass the following sites' paywalls with this extension
|
### Bypass the following sites' paywalls with this extension
|
||||||
|
|
||||||
|
[Algemeen Dagblad](https://www.ad.nl)\
|
||||||
[Baltimore Sun](https://www.baltimoresun.com)\
|
[Baltimore Sun](https://www.baltimoresun.com)\
|
||||||
[Barron's](https://www.barrons.com)\
|
[Barron's](https://www.barrons.com)\
|
||||||
[Bloomberg](https://www.bloomberg.com)\
|
[Bloomberg](https://www.bloomberg.com)\
|
||||||
|
@ -16,9 +17,11 @@
|
||||||
[Corriere Della Sera](https://www.corriere.it)\
|
[Corriere Della Sera](https://www.corriere.it)\
|
||||||
[Daily Press](https://www.dailypress.com)\
|
[Daily Press](https://www.dailypress.com)\
|
||||||
[Denver Post](https://www.denverpost.com)\
|
[Denver Post](https://www.denverpost.com)\
|
||||||
|
[De Groene Amsterdammer](https://www.groene.nl)\
|
||||||
[De Tijd](https://www.tijd.be)\
|
[De Tijd](https://www.tijd.be)\
|
||||||
[de Volkskrant](https://www.volkskrant.nl)\
|
[de Volkskrant](https://www.volkskrant.nl)\
|
||||||
[The Economist](https://www.economist.com)\
|
[The Economist](https://www.economist.com)\
|
||||||
|
[Eindhovens Dagblad](https://ed.nl)\
|
||||||
[Examiner](https://www.examiner.com.au)\
|
[Examiner](https://www.examiner.com.au)\
|
||||||
[Financial Times](https://www.ft.com)\
|
[Financial Times](https://www.ft.com)\
|
||||||
[Foreign Policy](https://www.foreignpolicy.com)\
|
[Foreign Policy](https://www.foreignpolicy.com)\
|
||||||
|
@ -46,10 +49,12 @@
|
||||||
[Orange County Register](https://www.ocregister.com)\
|
[Orange County Register](https://www.ocregister.com)\
|
||||||
[Orlando Sentinel](https://www.orlandosentinel.com)\
|
[Orlando Sentinel](https://www.orlandosentinel.com)\
|
||||||
[Palo Alto Online](https://www.paloaltoonline.com)\
|
[Palo Alto Online](https://www.paloaltoonline.com)\
|
||||||
|
[Parool](https://www.parool.nl)\
|
||||||
[Quartz](https://qz.com)\
|
[Quartz](https://qz.com)\
|
||||||
[Quora](https://www.quora.com)\
|
[Quora](https://www.quora.com)\
|
||||||
[Statista](https://www.statista.com)\
|
[Statista](https://www.statista.com)\
|
||||||
[SunSentinel](https://www.sun-sentinel.com)\
|
[SunSentinel](https://www.sun-sentinel.com)\
|
||||||
|
[Telegraaf](https://telegraaf.nl)\
|
||||||
[The Advocate](https://www.theadvocate.com.au)\
|
[The Advocate](https://www.theadvocate.com.au)\
|
||||||
[The Age](https://www.theage.com.au)\
|
[The Age](https://www.theage.com.au)\
|
||||||
[The Atlantic](https://www.theatlantic.com)\
|
[The Atlantic](https://www.theatlantic.com)\
|
||||||
|
@ -78,7 +83,9 @@
|
||||||
[The Washington Post](https://www.washingtonpost.com)\
|
[The Washington Post](https://www.washingtonpost.com)\
|
||||||
[The Wall Street Journal](https://www.wsj.com)\
|
[The Wall Street Journal](https://www.wsj.com)\
|
||||||
[Towards Data Science](https://www.towardsdatascience.com)\
|
[Towards Data Science](https://www.towardsdatascience.com)\
|
||||||
|
[Trouw](https://www.trouw.nl)\
|
||||||
[Vanity Fair](https://www.vanityfair.com)\
|
[Vanity Fair](https://www.vanityfair.com)\
|
||||||
|
[Vrij Nederland](https://www.vn.nl)\
|
||||||
[Wired](https://www.wired.com)
|
[Wired](https://www.wired.com)
|
||||||
|
|
||||||
### Sites with limited number of free articles
|
### Sites with limited number of free articles
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var defaultSites = {
|
var defaultSites = {
|
||||||
|
'Algemeen Dagblad': 'ad.nl',
|
||||||
'Baltimore Sun': 'baltimoresun.com',
|
'Baltimore Sun': 'baltimoresun.com',
|
||||||
'Barron\'s': 'barrons.com',
|
'Barron\'s': 'barrons.com',
|
||||||
'Bloomberg': 'bloomberg.com',
|
'Bloomberg': 'bloomberg.com',
|
||||||
|
@ -14,8 +15,10 @@ var defaultSites = {
|
||||||
'Daily Press': 'dailypress.com',
|
'Daily Press': 'dailypress.com',
|
||||||
'Denver Post': 'denverpost.com',
|
'Denver Post': 'denverpost.com',
|
||||||
'De Tijd': 'tijd.be',
|
'De Tijd': 'tijd.be',
|
||||||
|
'De Groene Amsterdammer': 'groene.nl',
|
||||||
'de Volkskrant': 'volkskrant.nl',
|
'de Volkskrant': 'volkskrant.nl',
|
||||||
'The Economist': 'economist.com',
|
'The Economist': 'economist.com',
|
||||||
|
'Eindhovens Dagblad': 'ed.nl',
|
||||||
'Examiner': 'examiner.com.au',
|
'Examiner': 'examiner.com.au',
|
||||||
'Financial Times': 'ft.com',
|
'Financial Times': 'ft.com',
|
||||||
'Foreign Policy': 'foreignpolicy.com',
|
'Foreign Policy': 'foreignpolicy.com',
|
||||||
|
@ -43,9 +46,11 @@ var defaultSites = {
|
||||||
'Orange County Register': 'ocregister.com',
|
'Orange County Register': 'ocregister.com',
|
||||||
'Orlando Sentinel': 'orlandosentinel.com',
|
'Orlando Sentinel': 'orlandosentinel.com',
|
||||||
'Palo Alto Online': 'paloaltoonline.com',
|
'Palo Alto Online': 'paloaltoonline.com',
|
||||||
|
'Parool': 'parool.nl',
|
||||||
'Quartz': 'qz.com',
|
'Quartz': 'qz.com',
|
||||||
'Quora': 'quora.com',
|
'Quora': 'quora.com',
|
||||||
'Statista': 'statista.com',
|
'Statista': 'statista.com',
|
||||||
|
'Telegraaf': 'telegraaf.nl',
|
||||||
'SunSentinel': 'sun-sentinel.com',
|
'SunSentinel': 'sun-sentinel.com',
|
||||||
'The Advocate': 'theadvocate.com.au',
|
'The Advocate': 'theadvocate.com.au',
|
||||||
'The Age': 'theage.com.au',
|
'The Age': 'theage.com.au',
|
||||||
|
@ -74,7 +79,9 @@ var defaultSites = {
|
||||||
'The Washington Post': 'washingtonpost.com',
|
'The Washington Post': 'washingtonpost.com',
|
||||||
'The Wall Street Journal': 'wsj.com',
|
'The Wall Street Journal': 'wsj.com',
|
||||||
'Towards Data Science': 'towardsdatascience.com',
|
'Towards Data Science': 'towardsdatascience.com',
|
||||||
|
'Trouw': 'trouw.nl',
|
||||||
'Vanity Fair': 'vanityfair.com',
|
'Vanity Fair': 'vanityfair.com',
|
||||||
|
'Vrij Nederland': 'vn.nl',
|
||||||
'Wired': 'wired.com'
|
'Wired': 'wired.com'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -106,7 +113,13 @@ const allow_cookies = [
|
||||||
'hbr.org',
|
'hbr.org',
|
||||||
'nymag.com',
|
'nymag.com',
|
||||||
'theaustralian.com.au',
|
'theaustralian.com.au',
|
||||||
'volkskrant.nl',
|
'ad.nl',
|
||||||
|
'ed.nl',
|
||||||
|
'parool.nl',
|
||||||
|
'telegraaf.nl',
|
||||||
|
'trouw.nl',
|
||||||
|
'vn.nl',
|
||||||
|
'volkskrant.nl'
|
||||||
]
|
]
|
||||||
|
|
||||||
// Removes cookies after page load
|
// Removes cookies after page load
|
||||||
|
@ -140,13 +153,16 @@ const remove_cookies = [
|
||||||
'washingtonpost.com',
|
'washingtonpost.com',
|
||||||
'nymag.com',
|
'nymag.com',
|
||||||
'nationalpost.com',
|
'nationalpost.com',
|
||||||
'volkskrant.nl',
|
|
||||||
'handelsblatt.com',
|
'handelsblatt.com',
|
||||||
'thediplomat.com',
|
'thediplomat.com',
|
||||||
'latimes.com',
|
'latimes.com',
|
||||||
'theatlantic.com',
|
'theatlantic.com',
|
||||||
'chicagobusiness.com',
|
'chicagobusiness.com',
|
||||||
'qz.com',
|
'qz.com',
|
||||||
|
'ad.nl',
|
||||||
|
'ed.nl',
|
||||||
|
'telegraaf.nl',
|
||||||
|
'vn.nl'
|
||||||
]
|
]
|
||||||
|
|
||||||
// Override User-Agent with Googlebot
|
// Override User-Agent with Googlebot
|
||||||
|
|
|
@ -88,4 +88,27 @@ if (window.location.href.indexOf("bizjournals.com") !== -1) {
|
||||||
}
|
}
|
||||||
}, 300); // Delay (in milliseconds)
|
}, 300); // Delay (in milliseconds)
|
||||||
}
|
}
|
||||||
|
} else if (window.location.href.indexOf('telegraaf.nl') !== -1) {
|
||||||
|
const paywall = document.getElementById('TEMPRORARY_METERING_ID');
|
||||||
|
if (paywall) {
|
||||||
|
window.location.reload(1);
|
||||||
|
}
|
||||||
|
} else if (window.location.href.indexOf('ed.nl') !== -1) {
|
||||||
|
const paywall = document.querySelector('.article__component.article__component--paywall-module-notification');
|
||||||
|
if (paywall) {
|
||||||
|
paywall.remove();
|
||||||
|
paywall = null;
|
||||||
|
}
|
||||||
|
} else if (window.location.href.indexOf("parool.nl") !== -1 || window.location.href.indexOf("trouw.nl") !== -1 || window.location.href.indexOf("volkskrant.nl") !== -1) {
|
||||||
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
const paywall = document.querySelector('div[data-temptation-position="ARTICLE_BOTTOM"]');
|
||||||
|
const hidden_section = document.querySelector('div[data-temptation-position="ARTICLE_INLINE"]');
|
||||||
|
removeDOMElement(paywall, hidden_section);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function removeDOMElement(...elements) {
|
||||||
|
for (let element of elements) {
|
||||||
|
if (element) element.remove();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,15 @@
|
||||||
"*://*.bizjournals.com/*",
|
"*://*.bizjournals.com/*",
|
||||||
"*://*.businessinsider.com/*",
|
"*://*.businessinsider.com/*",
|
||||||
"*://*.haaretz.co.il/*",
|
"*://*.haaretz.co.il/*",
|
||||||
"*://*.repubblica.it/*"
|
"*://*.nzherald.co.nz/*",
|
||||||
|
"*://*.repubblica.it/*",
|
||||||
|
"*://*.washingtonpost.com/*",
|
||||||
|
"*://*.wsj.com/*",
|
||||||
|
"*://*.ed.nl/*",
|
||||||
|
"*://*.parool.nl/*",
|
||||||
|
"*://*.telegraaf.nl/*",
|
||||||
|
"*://*.trouw.nl/*",
|
||||||
|
"*://*.volkskrant.nl/*"
|
||||||
],
|
],
|
||||||
"js": ["contentScript.js"]
|
"js": ["contentScript.js"]
|
||||||
}
|
}
|
||||||
|
@ -121,7 +129,14 @@
|
||||||
"*://*.wired.com/*",
|
"*://*.wired.com/*",
|
||||||
"*://*.thediplomat.com/*",
|
"*://*.thediplomat.com/*",
|
||||||
"*://*.theatlantic.com/*",
|
"*://*.theatlantic.com/*",
|
||||||
"*://*.qz.com/*"
|
"*://*.qz.com/*",
|
||||||
|
"*://*.ad.nl/*",
|
||||||
|
"*://*.ed.nl/*",
|
||||||
|
"*://*.groene.nl/*",
|
||||||
|
"*://*.parool.nl/*",
|
||||||
|
"*://*.telegraaf.nl/*",
|
||||||
|
"*://*.trouw.nl/*",
|
||||||
|
"*://*.vn.nl/*"
|
||||||
],
|
],
|
||||||
"version": "1.5.9"
|
"version": "1.5.9"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
var defaultSites = {
|
var defaultSites = {
|
||||||
|
'Algemeen Dagblad': 'ad.nl',
|
||||||
'Baltimore Sun': 'baltimoresun.com',
|
'Baltimore Sun': 'baltimoresun.com',
|
||||||
'Barron\'s': 'barrons.com',
|
'Barron\'s': 'barrons.com',
|
||||||
'Bloomberg': 'bloomberg.com',
|
'Bloomberg': 'bloomberg.com',
|
||||||
|
@ -11,9 +12,11 @@ var defaultSites = {
|
||||||
'Corriere Della Sera': 'corriere.it',
|
'Corriere Della Sera': 'corriere.it',
|
||||||
'Daily Press': 'dailypress.com',
|
'Daily Press': 'dailypress.com',
|
||||||
'Denver Post': 'denverpost.com',
|
'Denver Post': 'denverpost.com',
|
||||||
|
'De Groene Amsterdammer': 'groene.nl',
|
||||||
'De Tijd': 'tijd.be',
|
'De Tijd': 'tijd.be',
|
||||||
'de Volkskrant': 'volkskrant.nl',
|
'de Volkskrant': 'volkskrant.nl',
|
||||||
'The Economist (javascript disabled)': 'economist.com',
|
'The Economist (javascript disabled)': 'economist.com',
|
||||||
|
'Eindhovens Dagblad': 'ed.nl',
|
||||||
'Examiner': 'examiner.com.au',
|
'Examiner': 'examiner.com.au',
|
||||||
'Financial Times': 'ft.com',
|
'Financial Times': 'ft.com',
|
||||||
'Foreign Policy': 'foreignpolicy.com',
|
'Foreign Policy': 'foreignpolicy.com',
|
||||||
|
@ -41,10 +44,12 @@ var defaultSites = {
|
||||||
'Orange County Register': 'ocregister.com',
|
'Orange County Register': 'ocregister.com',
|
||||||
'Orlando Sentinel': 'orlandosentinel.com',
|
'Orlando Sentinel': 'orlandosentinel.com',
|
||||||
'Palo Alto Online': 'paloaltoonline.com',
|
'Palo Alto Online': 'paloaltoonline.com',
|
||||||
|
'Parool': 'parool.nl',
|
||||||
'Quartz': 'qz.com',
|
'Quartz': 'qz.com',
|
||||||
'Quora': 'quora.com',
|
'Quora': 'quora.com',
|
||||||
'Statista': 'statista.com',
|
'Statista': 'statista.com',
|
||||||
'SunSentinel': 'sun-sentinel.com',
|
'SunSentinel': 'sun-sentinel.com',
|
||||||
|
'Telegraaf': 'telegraaf.nl',
|
||||||
'The Advocate': 'theadvocate.com.au',
|
'The Advocate': 'theadvocate.com.au',
|
||||||
'The Age': 'theage.com.au',
|
'The Age': 'theage.com.au',
|
||||||
'The Atlantic': 'theatlantic.com',
|
'The Atlantic': 'theatlantic.com',
|
||||||
|
@ -73,7 +78,9 @@ var defaultSites = {
|
||||||
'The Washington Post': 'washingtonpost.com',
|
'The Washington Post': 'washingtonpost.com',
|
||||||
'The Wall Street Journal': 'wsj.com',
|
'The Wall Street Journal': 'wsj.com',
|
||||||
'Towards Data Science': 'towardsdatascience.com',
|
'Towards Data Science': 'towardsdatascience.com',
|
||||||
|
'Trouw': 'trouw.nl',
|
||||||
'Vanity Fair': 'vanityfair.com',
|
'Vanity Fair': 'vanityfair.com',
|
||||||
|
'Vrij Nederland': 'vn.nl',
|
||||||
'Wired': 'wired.com'
|
'Wired': 'wired.com'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue