Fix-update Challenges.fr

This commit is contained in:
magnolia1234 2020-04-29 20:05:13 +02:00
parent 273997345f
commit 5fa1ac928e
3 changed files with 9 additions and 2 deletions

View File

@ -14,7 +14,7 @@
### Installation instructions
Due to [Google internal policy](https://developer.chrome.com/webstore/program_policies), the extension is not available on the Chrome Web Store. The following instructions are needed to install third-party extensions in [Chromium](https://en.wikipedia.org/wiki/Chromium_(web_browser))-based browsers:
#### Chrome (Windows, MacOS, Linux), Microsoft Edge (version 79)
1. Download this repository as a [ZIP file from BitBucket](https://bitbucket.org/magnolia1234/bypass-paywalls-chrome-clean/downloads).
1. Download this repository as a [ZIP file from BitBucket](https://bitbucket.org/magnolia1234/bypass-paywalls-chrome-clean/get/master.zip).
2. Unzip the file and you should have a folder named `magnolia1234-bypass-paywalls-chrome-clean-master`.
3. Move the folder to a permanent location on your computer (do not delete the folder after installation).
4. Go to the extensions page (`chrome://extensions` or `edge://extensions`).

View File

@ -547,6 +547,13 @@ else if (matchDomain('gestion.pe')) {
}
}
else if (matchDomain("challenges.fr")) {
const hidden_par = document.querySelector('.corps[style="display:none"]');
if (hidden_par) {
hidden_par.removeAttribute('style');
}
}
// General Functions
function removeDOMElement(...elements) {
for (let element of elements) {

View File

@ -7,7 +7,7 @@
<div style="width:225px"><strong>Bypass Paywalls Clean <span id="version"></span></strong>
<br><a href="options.html" style="color:black">Options</a> |
<a href="options_custom.html" style="color:black">Custom</a> |
<a href="https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/src/master/README.md" style="color:black" target=”_blank”>BitBucket</a>
<a href="https://bitbucket.org/magnolia1234/bypass-paywalls-chrome-clean/src/master/README.md" style="color:black" target=”_blank”>BitBucket</a>
<br><span id="version_new"></span></div>
<script src="version.js"></script>
</body>