From 75c8d2aa45fea65bfc9b78c0190078f7ba02494d Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sat, 27 Jun 2020 14:22:39 +0200 Subject: [PATCH] Add ABC.es --- README.md | 1 + background.js | 2 ++ lp/manifest.json | 1 + sites.js | 1 + 4 files changed, 5 insertions(+) diff --git a/README.md b/README.md index 8590636..ada34a2 100644 --- a/README.md +++ b/README.md @@ -214,6 +214,7 @@ Install add-on by downloading xpi-file. ##### Russia [Republic.ru](https://republic.ru) ##### Spain +[ABC](https://www.abc.es) - [El Mundo](https://www.elmundo.es) - [El PaĆ­s](https://elpais.com) ##### Sweden diff --git a/background.js b/background.js index 9a23d70..c71ac7f 100644 --- a/background.js +++ b/background.js @@ -19,6 +19,7 @@ const restrictions = { // Don't remove cookies before page load // allow_cookies are completed with domains in sites.js (default allow/remove_cookies) var allow_cookies = [ +'abc.es', 'adelaidenow.com.au', 'aftonbladet.se', 'bostonglobe.com', @@ -109,6 +110,7 @@ for (var domainIndex in ad_region_domains) { // Override User-Agent with Googlebot const use_google_bot_default = [ +'abc.es', 'adelaidenow.com.au', 'aftonbladet.se', 'barrons.com', diff --git a/lp/manifest.json b/lp/manifest.json index 1f451f6..de32aef 100644 --- a/lp/manifest.json +++ b/lp/manifest.json @@ -34,6 +34,7 @@ }, "permissions": [ "cookies", + "*://*.abc.es/*", "*://*.ad.nl/*", "*://*.adelaidenow.com.au/*", "*://*.adweek.com/*", diff --git a/sites.js b/sites.js index 215222e..02717b2 100644 --- a/sites.js +++ b/sites.js @@ -1,5 +1,6 @@ var defaultSites = { + "ABC.es": "abc.es", "Adweek": "adweek.com", "Aftonbladet": "aftonbladet.se", "Algemeen Dagblad": "ad.nl",