Add Follow the Money (Ftm.nl)

master
magnolia1234 2020-06-18 20:54:57 +02:00
parent 16fefb2286
commit e0a3e3e4f4
5 changed files with 10 additions and 0 deletions

View File

@ -227,6 +227,7 @@ Visit the [Firefox repository](https://bitbucket.org/magnolia1234/bypass-paywall
[Dagblad van het Noorden](https://www.dvhn.nl) -
[De Morgen](https://www.demorgen.be) -
[De Tijd](https://www.tijd.be) -
[Follow the Money](https://www.ftm.nl) -
[Groene Amsterdammer](https://www.groene.nl) -
[Het Financieel Dagblad](https://fd.nl) -
[Humo.be](https://www.humo.be) -

View File

@ -33,6 +33,7 @@ var allow_cookies = [
'eurekareport.com.au',
'faz.net',
'folha.uol.com.br',
'ftm.nl',
'gestion.pe',
'goldcoastbulletin.com.au',
'haaretz.co.il',
@ -167,6 +168,7 @@ var blockedRegexes = {
'globo.com': /.+\.tinypass\.com\/.+/,
'foreignpolicy.com': /.+\.tinypass\.com\/.+/,
'fortune.com': /.+\.tinypass\.com\/.+/,
'ftm.nl': /.+\.ftm\.nl\/js\/routing\?/,
'gestion.pe': /gestion\.pe\/pf\/dist\/template\/gestion-noticia.+\.js/,
'globes.co.il': /.+\.tinypass\.com\/.+/,
'haaretz.co.il': /haaretz\.co\.il\/htz\/js\/inter\.js/,

View File

@ -683,6 +683,11 @@ else if (matchDomain('republic.ru')) {
removeDOMElement(paywall);
}
else if (matchDomain('ftm.nl')) {
let banner_pp = document.querySelector('div.banner-pp');
removeDOMElement(banner_pp);
}
// General Functions
function removeDOMElement(...elements) {
for (let element of elements) {

View File

@ -81,6 +81,7 @@
"*://*.foreignpolicy.com/*",
"*://*.fortune.com/*",
"*://*.ft.com/*",
"*://*.ftm.nl/*",
"*://*.gestion.pe/*",
"*://*.glassdoor.com/*",
"*://*.globes.co.il/*",

View File

@ -42,6 +42,7 @@ var defaultSites =
"Financial Times": "ft.com",
"First Things": "firstthings.com",
"Folha de S. Paulo": "folha.uol.com.br",
"Follow the Money (ftm.nl)": "ftm.nl",
"Foreign Policy": "foreignpolicy.com",
"Fortune": "fortune.com",
"Frankfurter Allgemeine Zeitung": "faz.net",