From 7075b318f06ee77c1fea15fc715183ced8ee9bd9 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Wed, 18 Oct 2023 08:24:45 +0200 Subject: [PATCH] Fix GauchaZH (refresh) --- changelog.txt | 1 + contentScript.js | 5 +++++ custom/manifest.json | 2 +- manifest.json | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index 14152552..44ffd1bb 100644 --- a/changelog.txt +++ b/changelog.txt @@ -5,6 +5,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal Post-release Add The Baffler Fix Australia News Corp (amp-fix for desktop) +Fix GauchaZH (refresh) * v3.3.8.0 (2023-10-15) Add LePoint.fr diff --git a/contentScript.js b/contentScript.js index 9416c91f..463a27e2 100644 --- a/contentScript.js +++ b/contentScript.js @@ -3380,6 +3380,11 @@ else if (matchDomain('blogfolha.uol.com.br')) { } else if (matchDomain('gauchazh.clicrbs.com.br')) { + let blink = document.querySelector('div.body.blink'); + if (blink) { + csDoneOnce = true; + refreshCurrentTab_bg(); + } let ads = document.querySelectorAll('div.ad-banner, div.ad-container'); hideDOMElement(...ads); } diff --git a/custom/manifest.json b/custom/manifest.json index f1cf5ab3..09c669fd 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -51,5 +51,5 @@ "webRequestBlocking", "*://*/*" ], - "version": "3.3.8.3" + "version": "3.3.8.4" } diff --git a/manifest.json b/manifest.json index 6c70e204..421d1502 100644 --- a/manifest.json +++ b/manifest.json @@ -802,5 +802,5 @@ "*://*.wyleex.com/*", "*://webcache.googleusercontent.com/*" ], - "version": "3.3.8.3" + "version": "3.3.8.4" }