mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:41:57 +01:00
Fix Bloomberg (timing)
This commit is contained in:
parent
e432983269
commit
5a889d4e38
3 changed files with 4 additions and 3 deletions
|
@ -2,6 +2,7 @@
|
|||
Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Fix Bloomberg (timing)
|
||||
Fix Handelsblatt (no amp)
|
||||
Fix trimmed referer (restrictions)
|
||||
|
||||
|
|
|
@ -2034,12 +2034,12 @@ else if (matchDomain('bloomberg.com')) {
|
|||
}
|
||||
let shimmering_content = document.querySelectorAll('div.shimmering-text');
|
||||
let body_transparent = document.querySelector('div[class*="nearly-transparent-text-blur"]');
|
||||
if (shimmering_content.length || body_transparent) {
|
||||
if ((shimmering_content.length || body_transparent) && dompurify_loaded) {
|
||||
removeDOMElement(...shimmering_content);
|
||||
if (body_transparent)
|
||||
removeClassesByPrefix(body_transparent, 'nearly-transparent-text-blur');
|
||||
let json_script = document.querySelector('script[data-component-props="ArticleBody"], script[data-component-props="FeatureBody"]');
|
||||
if (json_script && dompurify_loaded) {
|
||||
if (json_script) {
|
||||
let json = JSON.parse(json_script.innerHTML);
|
||||
if (json) {
|
||||
let json_text;
|
||||
|
|
|
@ -605,5 +605,5 @@
|
|||
"*://*.wsj.net/*",
|
||||
"*://*.zephr.com/*"
|
||||
],
|
||||
"version": "2.5.0.2"
|
||||
"version": "2.5.0.3"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue