Fix VeloNews

This commit is contained in:
magnolia1234 2021-09-28 21:44:43 +02:00
parent 7e25c4757c
commit 97e1d270d1
2 changed files with 4 additions and 3 deletions

View file

@ -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)

View file

@ -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);
}
}