Fix Bloomberg (blur)

master
magnolia1234 2021-10-03 12:17:44 +02:00
parent d4b206268a
commit a9ee32ebb8
5 changed files with 16 additions and 2 deletions

View File

@ -1,5 +1,9 @@
# Bypass Paywalls Clean for Chrome
Extension allows you to read articles from (supported) sites that implement a paywall.
You can also add domains as custom site and try to bypass the paywall.
Weekly updates are released for fixes and new sites.
* [Installation](#installation)
* [Update](#update)
* [List of supported websites](#list-of-supported-websites)
@ -10,6 +14,7 @@
* [Troubleshooting](#troubleshooting)
* [Changelog-releases](#changelog-releases)
* [License](#license)
* [Disclaimer](#disclaimer)
### Installation
Due to [Google internal policy](https://developer.chrome.com/webstore/program_policies), the extension is not available on the Chrome Web Store.
@ -693,3 +698,6 @@ You can also exclude a specific domain which is grouped in options.
### License
* Bypass Paywalls Clean is [MIT-licensed](https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean/-/blob/master/LICENSE).
### Disclaimer
* This software is provided for educational purposes only and is provided "AS IS", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.

View File

@ -5,6 +5,7 @@ Post-release
Add Westfalen-Blatt (Germany)
Remove Gazet van Antwerpen (obsolete)
Remove Republic.ru (obsolete)
Fix Bloomberg (blur)
Fix Boston Globe
Fix El Periodico de Catalunya (amp)
Fix Foreign Affairs (timing)

View File

@ -1664,6 +1664,11 @@ else if (matchDomain('bloomberg.com')) {
hidden_image.setAttribute('src', hidden_image.getAttribute('data-native-src'));
hidden_image.style.filter = 'none';
}
let blur = document.querySelector('div.blur[style]');
if (blur) {
blur.classList.remove('blur');
blur.removeAttribute('style');
}
let json_script = document.querySelector('script[data-component-props="ArticleBody"], script[data-component-props="FeatureBody"]');
if (json_script) {
let json = JSON.parse(json_script.innerHTML);

View File

@ -39,5 +39,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "2.3.7.4"
"version": "2.3.7.5"
}

View File

@ -548,5 +548,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.3.7.4"
"version": "2.3.7.5"
}