From d66ad997901d53ca76c6a7e19f4cce140dab2eda Mon Sep 17 00:00:00 2001 From: stackiller Date: Sat, 25 Jul 2020 03:21:31 -0300 Subject: [PATCH] Nexo Jornal Corrigido #244 --- src/content-start.js | 9 +++++++++ src/manifest.json | 2 ++ src/options.html | 6 ++++++ src/options.js | 1 + 4 files changed, 18 insertions(+) diff --git a/src/content-start.js b/src/content-start.js index a97e45e..99c1133 100644 --- a/src/content-start.js +++ b/src/content-start.js @@ -114,6 +114,15 @@ const INJECTION = { }); ` }, + nexo: { + url: /nexojornal\.com\.br/, + code: ` + var body = document.querySelector("body"); + var paywall_box = document.getElementsByClassName("PaywallBumper__wrap-container___3_kL1"); + paywall_box[0].remove(); + body.style.overflow = "auto" + ` + }, }; chrome.storage.local.get('sites', function(result) { diff --git a/src/manifest.json b/src/manifest.json index a391162..a28ad26 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -37,6 +37,7 @@ "*://*.oglobo.globo.com/*", "*://*.dgabc.com.br/*", "*://*.epoca.globo.com/*", + "*://*.nexojornal.com.br/*", "*://crusoe.com.br/*", "*://*.em.com.br/*" ] @@ -63,6 +64,7 @@ "*://*.infoglobo.com.br/*", "*://*.jota.info/*", "*://www.jornalnh.com.br/*", + "*://*.nexojornal.com.br/*", "*://www.netdeal.com.br/*", "*://*.oglobo.globo.com/*", "*://www.rbsonline.com.br/*", diff --git a/src/options.html b/src/options.html index 471d93a..dfafe24 100644 --- a/src/options.html +++ b/src/options.html @@ -126,6 +126,12 @@ JOTA +
+ +