diff --git a/changelog.txt b/changelog.txt index fba0922..bdab470 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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) diff --git a/contentScript.js b/contentScript.js index 6499b4a..885d8a1 100644 --- a/contentScript.js +++ b/contentScript.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;