Fix VeloNews

merge-requests/2/head
magnolia1234 3 years ago
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…
Cancel
Save