From cec7f816dcd44f08fe186eff32bb059ecef5c558 Mon Sep 17 00:00:00 2001 From: frantzkamus <60623679+frantzkamus@users.noreply.github.com> Date: Mon, 3 Feb 2020 18:01:38 +0100 Subject: [PATCH] Add fd.nl (google bot) --- README.md | 3 ++- background.js | 4 +++- sites.json | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7e045d5..c7f4d6e 100755 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ Visit the [Firefox repository](https://github.com/magnolia1234/bypass-paywalls-f [The Examiner](https://www.examiner.com.au) - [The Mercury Tasmania](https://www.themercury.com.au) - [The Saturday Paper](https://www.thesaturdaypaper.com.au) - -[The Spectator Australia](https://www.spectator.com.au) - +[The Spectator Australia](https://www.spectator.com.au) - [The Sydney Morning Herald](https://www.smh.com.au) – [The Weekly Times](https://www.weeklytimesnow.com.au) – [Townsville Bulletin](https://www.townsvillebulletin.com.au) @@ -185,6 +185,7 @@ Visit the [Firefox repository](https://github.com/magnolia1234/bypass-paywalls-f [Tubantia](https://tubantia.nl)\ [De Morgen](https://www.demorgen.be) - [De Tijd](https://www.tijd.be) - +[Het Financieel Dagblad](https://fd.nl) [Groene Amsterdammer](https://www.groene.nl) - [NRC Handelsblad](https://www.nrc.nl) - [Parool](https://www.parool.nl) - diff --git a/background.js b/background.js index b3c6160..dc7e55b 100755 --- a/background.js +++ b/background.js @@ -22,6 +22,7 @@ var allow_cookies = [ 'couriermail.com.au', 'dailytelegraph.com.au', 'dn.se', +'fd.nl', 'folha.uol.com.br', 'goldcoastbulletin.com.au', 'haaretz.co.il', @@ -88,6 +89,7 @@ const use_google_bot = [ 'couriermail.com.au', 'dailytelegraph.com.au', 'dn.se', +"fd.nl", 'goldcoastbulletin.com.au', 'haaretz.co.il', 'haaretz.com', @@ -286,7 +288,7 @@ chrome.webRequest.onBeforeSendHeaders.addListener(function(details) { if (details.url.indexOf('meter.bostonglobe.com/js/') !== -1 && (header_referer === 'https://www.bostonglobe.com/' || header_referer.indexOf('/?p1=BGHeader_') !== -1 || header_referer.indexOf('/?p1=BGMenu_') !== -1)) { chrome.webRequest.handlerBehaviorChanged(function () {}); - break; + break; } else if (header_referer.indexOf('theglobeandmail.com') !== -1 && !(header_referer.indexOf('/article-') !== -1)) { chrome.webRequest.handlerBehaviorChanged(function () {}); break; diff --git a/sites.json b/sites.json index b8e2d44..e942689 100644 --- a/sites.json +++ b/sites.json @@ -43,6 +43,7 @@ "Harvard Business Review": "hbr.org", "Harvard Business Review Taiwan": "hbrtaiwan.com", "Herald Sun": "heraldsun.com.au", + "Het Financieel Dagblad": "fd.nl", "Inc.com": "inc.com", "Kleine Zeitung": "kleinezeitung.at", "L'Écho": "lecho.be",