From 3f3a0dccc5638c070099281ca2d8ad1ceca85050 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sun, 24 Dec 2023 09:06:19 +0100 Subject: [PATCH] Fix The West Australian (cs-loading) --- changelog.txt | 5 +++-- contentScript.js | 2 +- options/version.js | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/changelog.txt b/changelog.txt index 01c391d..40d2cfd 100644 --- a/changelog.txt +++ b/changelog.txt @@ -21,6 +21,7 @@ Fix Media Group Westfalen Fix National Review (cookies) Fix Nw.de (amp-redirect) Fix NYmag-sites (js) +Fix The West Australian (cs-loading) Grouping Haaretz sites Enable optional host permissions on Android (Firefox 120+) Update block general paywall script (EverCookie) @@ -131,7 +132,7 @@ Add CartaCapital.com.br Add Cosmopolitan.fr Remove CodeSports.com.au (fix obsolete) Remove Hln.be (fix obsolete) -Remove VosgesMatin.fr (fix obsolete) +Remove VosgesMatin.fr (EBRA; fix obsolete) Fix Albuquerque Journal (css) Fix Apollo Magazine Fix Barron's (amp-redirect) @@ -1642,7 +1643,7 @@ Fix Wired (Googlebot) Fix WSJ (option to disable Googlebot; http error 500) * v2.1.3.0 (2021-03-21) -Add Berliner-Zeitung.de +Add Berliner Zeitung Add The Dallas Morning News (local USA) Add Entrepreneur Fix TheSaturdayPaper.com.au diff --git a/contentScript.js b/contentScript.js index 66cbf03..36c57dd 100644 --- a/contentScript.js +++ b/contentScript.js @@ -569,7 +569,7 @@ else { thewest_main(paywall); else { csDoneOnce = true; - waitDOMElement(paywall_sel, 'DIV', thewest_main, false); + waitDOMElement(paywall_sel, 'DIV', thewest_main, true); } let header_advert = document.querySelector('div.headerAdvertisement'); hideDOMElement(header_advert); diff --git a/options/version.js b/options/version.js index d7f6b7a..3a49a19 100644 --- a/options/version.js +++ b/options/version.js @@ -41,7 +41,8 @@ function show_update(ext_version_new, check = true) { } if (warning) { let par = document.createElement('p'); - par.innerHTML = "You've installed a " + warning + " version of BPC (check GitLab)"; + par.innerText = "You've installed a " + warning + " version of BPC (check help/GitLab)"; + par.style = 'font-weight: bold;'; versionString_new.appendChild(par); } }