Remove wapo automatic GDPR bypass

This commit is contained in:
ghost 2019-06-24 21:48:53 -07:00
parent 35fabacd17
commit 5cfeebd791
5 changed files with 5 additions and 15 deletions

View file

@ -1,6 +1,6 @@
# Bypass Paywalls for Firefox
## [Download and install the latest version](https://github.com/iamadamdev/bypass-paywalls-firefox/releases/download/v1.5.6/bypass_paywalls-1.5.6-an+fx.xpi)
## [Download and install the latest version](https://github.com/iamadamdev/bypass-paywalls-firefox/releases/download/v1.5.7/bypass_paywalls-1.5.7-an+fx.xpi)
### Bypass the following sites' paywalls with this extension

BIN
bypass-paywalls-firefox.zip Normal file

Binary file not shown.

View file

@ -44,18 +44,6 @@ if (window.location.href.indexOf("bizjournals.com") !== -1) {
}
}
}
} else if (window.location.href.indexOf("washingtonpost.com") !== -1) {
if (location.href.includes('/gdpr-consent/')) {
document.querySelector('.gdpr-consent-container .continue-btn.button.free').click();
const gdprcheckbox = document.querySelector('.gdpr-consent-container .consent-page:not(.hide) #agree');
if (gdprcheckbox) {
gdprcheckbox.checked = true;
gdprcheckbox.dispatchEvent(new Event('change'));
document.querySelector('.gdpr-consent-container .consent-page:not(.hide) .continue-btn.button.accept-consent').click();
}
}
} else if (window.location.href.indexOf("wsj.com") !== -1) {
if (location.href.includes('/articles/')) {
setTimeout(function() {

View file

@ -122,5 +122,5 @@
"*://*.wired.com/*",
"*://*.thediplomat.com/*"
],
"version": "1.5.6"
"version": "1.5.7"
}

View file

@ -24,7 +24,9 @@
{ "version": "1.5.5",
"update_link": "https://github.com/iamadamdev/bypass-paywalls-firefox/releases/download/v1.5.5/bypass_paywalls-1.5.5-an+fx.xpi" },
{ "version": "1.5.6",
"update_link": "https://github.com/iamadamdev/bypass-paywalls-firefox/releases/download/v1.5.6/bypass_paywalls-1.5.6-an+fx.xpi" }
"update_link": "https://github.com/iamadamdev/bypass-paywalls-firefox/releases/download/v1.5.6/bypass_paywalls-1.5.6-an+fx.xpi" },
{ "version": "1.5.7",
"update_link": "https://github.com/iamadamdev/bypass-paywalls-firefox/releases/download/v1.5.7/bypass_paywalls-1.5.7-an+fx.xpi" }
]
}
}