From 930566886fa6fc8b252670a2936783839f7ba1f2 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Wed, 30 Dec 2020 16:45:03 +0100 Subject: [PATCH] Fix-update Gestion & El Comercio (Peru) --- README.md | 1 + background.js | 2 +- changelog.txt | 1 + contentScript.js | 2 ++ manifest.json | 2 +- 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fd1b4ce..40c90e5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Bypass Paywalls Clean for Firefox * [Installation](#installation) +* [Update](#update) * [List of supported websites](#list-of-supported-websites) * [Sites with limited number of free articles](#sites-with-limited-number-of-free-articles) * [New site requests](#new-site-requests) diff --git a/background.js b/background.js index 6f68d0b..2fd9c5e 100644 --- a/background.js +++ b/background.js @@ -4,7 +4,7 @@ var ext_api = (typeof browser === 'object') ? browser : chrome; var ext_name = ext_api.runtime.getManifest().name; -const cs_limit_except = ['afr.com', 'elpais.com', 'harpers.org', 'inkl.com', 'la-croix.com', 'lescienze.it', 'techinasia.com']; +const cs_limit_except = ['afr.com', 'elcomercio.pe', 'elpais.com', 'gestion.pe', 'harpers.org', 'inkl.com', 'la-croix.com', 'lescienze.it', 'techinasia.com']; var currentTabUrl = ''; var csDone = false; diff --git a/changelog.txt b/changelog.txt index 88193a4..d81177b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release +Fix-update Gestion & El Comercio (Peru) Fix-update SeekingAlpha (amp) * v2.0.1.0 (2020-12-27) diff --git a/contentScript.js b/contentScript.js index b9c375a..bd33049 100644 --- a/contentScript.js +++ b/contentScript.js @@ -491,6 +491,8 @@ else if (matchDomain("caixinglobal.com")) { for (let hidden_par of hidden_pars) hidden_par.setAttribute('style', 'display:block;'); } + let app_exclusive_tip = document.querySelector('.app-exclusive-tip'); + removeDOMElement(app_exclusive_tip); }, 500); // Delay (in milliseconds) } diff --git a/manifest.json b/manifest.json index a01b4f9..da4ea3d 100644 --- a/manifest.json +++ b/manifest.json @@ -414,5 +414,5 @@ "*://*.repstatic.it/*", "*://*.userzoom.com/*" ], - "version": "2.0.1.1" + "version": "2.0.1.2" } \ No newline at end of file