mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-04 12:00:10 +00:00
Fix VeloNews
This commit is contained in:
parent
7e25c4757c
commit
97e1d270d1
@ -6,6 +6,7 @@ Remove Gazet van Antwerpen (obsolete)
|
||||
Fix El Periodico de Catalunya (amp)
|
||||
Fix Foreign Affairs (timing)
|
||||
Fix Telerama.fr (mobile)
|
||||
Fix VeloNews
|
||||
|
||||
* v2.3.7.0 (2021-09-26)
|
||||
Add Aachener Zeitung (Germany)
|
||||
|
@ -2706,9 +2706,9 @@ else if (matchDomain('usatoday.com')) {
|
||||
else if (matchDomain('velonews.com')) {
|
||||
let paywall = document.querySelector('div.o-membership-overlay');
|
||||
if (paywall) {
|
||||
let js_gated = document.querySelector('div.js-gated');
|
||||
if (js_gated)
|
||||
js_gated.classList.remove('js-gated');
|
||||
let is_gated = document.querySelector('.is-gated');
|
||||
if (is_gated)
|
||||
is_gated.classList.remove('is-gated');
|
||||
removeDOMElement(paywall);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user