mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 04:01:58 +01:00
Fix Bloomberg
This commit is contained in:
parent
929af31db2
commit
e07260f983
2 changed files with 2 additions and 2 deletions
|
@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||
Post-release
|
||||
Add LaMontagne.fr
|
||||
Fix American Affairs (js)
|
||||
Fix Bloomberg
|
||||
Fix Bloomberg Quint (amp)
|
||||
Fix Economist (js typo)
|
||||
Fix LaNouvelleRepublique.fr (js)
|
||||
|
|
|
@ -2306,9 +2306,8 @@ else if (matchDomain('bloomberg.com')) {
|
|||
removeDOMElement(...shimmering_content);
|
||||
if (body_transparent)
|
||||
removeClassesByPrefix(body_transparent, 'nearly-transparent-text-blur');
|
||||
let premium = document.querySelector('div[data-testid="premium-label"]');
|
||||
let json_script = document.querySelector('script[data-component-props="ArticleBody"], script[data-component-props="FeatureBody"]');
|
||||
if (premium && json_script) {
|
||||
if (json_script) {
|
||||
let json = JSON.parse(json_script.innerHTML);
|
||||
if (json) {
|
||||
let json_text;
|
||||
|
|
Loading…
Reference in a new issue