mirror of
https://github.com/iamadamdev/bypass-paywalls-chrome
synced 2025-05-02 00:44:25 +02:00
parent
de0a2ca7c9
commit
a593b34a5a
@ -15,7 +15,7 @@
|
|||||||
1. Drag the `bypass-paywalls-chrome-master` folder anywhere on the page to import it (do not delete the folder afterwards).
|
1. Drag the `bypass-paywalls-chrome-master` folder anywhere on the page to import it (do not delete the folder afterwards).
|
||||||
|
|
||||||
**Mozilla Firefox**
|
**Mozilla Firefox**
|
||||||
1. [Download and install the latest version](https://github.com/iamadamdev/bypass-paywalls-firefox/releases/download/v1.7.1/bypass_paywalls-1.7.1-an+fx.xpi)
|
* [Download and install the latest version](https://github.com/iamadamdev/bypass-paywalls-firefox/releases/download/v1.7.1/bypass_paywalls-1.7.1-an+fx.xpi)
|
||||||
|
|
||||||
**Notes**
|
**Notes**
|
||||||
* Every time you open Chrome it may warn you about running extensions in developer mode, just click 🗙 to keep the extension enabled.
|
* Every time you open Chrome it may warn you about running extensions in developer mode, just click 🗙 to keep the extension enabled.
|
||||||
|
@ -1,9 +1,4 @@
|
|||||||
var localStorageHoldArray = ['sfchronicle.com', 'cen.acs.org'];
|
if (!matchDomain(['sfchronicle.com', 'cen.acs.org'])) {
|
||||||
var localStorageHold = localStorageHoldArray.some(function (url) {
|
|
||||||
return window.location.href.includes(url);
|
|
||||||
});
|
|
||||||
|
|
||||||
if (!localStorageHold) {
|
|
||||||
window.localStorage.clear();
|
window.localStorage.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -101,7 +96,7 @@ if (matchDomain('rep.repubblica.it')) {
|
|||||||
if (acceptBtn) {
|
if (acceptBtn) {
|
||||||
acceptBtn.click();
|
acceptBtn.click();
|
||||||
}
|
}
|
||||||
} else if (matchDomain('theathletic.com') || matchDomain('theathletic.co.uk')) {
|
} else if (matchDomain(['theathletic.com','theathletic.co.uk'])) {
|
||||||
const landingBanner = document.querySelector('.logged-out-landing-banner');
|
const landingBanner = document.querySelector('.logged-out-landing-banner');
|
||||||
const sampleBanner = document.querySelector('.main-sample-banner');
|
const sampleBanner = document.querySelector('.main-sample-banner');
|
||||||
const bottomBanner = document.querySelector('.border-bottom-cc');
|
const bottomBanner = document.querySelector('.border-bottom-cc');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user