Fix The West Australian (cs-loading)

This commit is contained in:
magnolia1234 2023-12-24 09:06:19 +01:00
parent a7d6660737
commit 3f3a0dccc5
3 changed files with 6 additions and 4 deletions

View file

@ -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

View file

@ -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);

View file

@ -41,7 +41,8 @@ function show_update(ext_version_new, check = true) {
}
if (warning) {
let par = document.createElement('p');
par.innerHTML = "<strong>You've installed a " + warning + " version of BPC (check GitLab)</strong>";
par.innerText = "You've installed a " + warning + " version of BPC (check help/GitLab)";
par.style = 'font-weight: bold;';
versionString_new.appendChild(par);
}
}