Restore timing Wsj close button

master
magnolia1234 2019-10-22 14:48:31 +02:00 committed by GitHub
parent 1aee1be20b
commit e77e783a62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ if (window.location.href.indexOf("bizjournals.com") !== -1) {
const close_button = document.querySelector('.close-btn'); const close_button = document.querySelector('.close-btn');
if (close_button) if (close_button)
close_button.click(); close_button.click();
}, 300); }, 2000);
} }
} else if (window.location.href.indexOf("washingtonpost.com") !== -1) { } else if (window.location.href.indexOf("washingtonpost.com") !== -1) {
if (location.href.includes('/gdpr-consent/')) { if (location.href.includes('/gdpr-consent/')) {