diff --git a/changelog.txt b/changelog.txt index f21e035..67c040e 100644 --- a/changelog.txt +++ b/changelog.txt @@ -5,8 +5,9 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal Post-release Add OVB Media (opt-in to custom sites for unlisted) Add Private Media AU -Fix Business Insider (js) Fix BizJournals (css) +Fix Business Insider (js) +Fix Business-standard.com Fix The Economist (regwall) Fix WaPo (js) Update custom sites (block_regex_ignore_default) diff --git a/contentScript.js b/contentScript.js index 114fd05..dfba529 100644 --- a/contentScript.js +++ b/contentScript.js @@ -3963,14 +3963,17 @@ else if (matchDomain('business-standard.com')) { let json = JSON.parse(json_script.text); if (json && json.props.pageProps.data.htmlContent) { let json_text = json.props.pageProps.data.htmlContent; - let content = document.querySelector('div.storycontent'); + let content = document.querySelector('div[class^="MainStory_storycontent__"'); if (json_text && content) { + content.innerHTML = ''; let intro = content.querySelectorAll('div:not([class]'); removeDOMElement(...intro); let parser = new DOMParser(); - let doc = parser.parseFromString('