Fix-update WSJ (close Cxense-banner)

This commit is contained in:
magnolia1234 2020-06-22 21:19:35 +02:00
parent 436aa2e785
commit 97a15735e2

View file

@ -116,7 +116,7 @@ else if (matchDomain("washingtonpost.com")) {
else if (matchDomain("wsj.com")) {
if (location.href.includes('/articles/')) {
const close_button = document.querySelector('.close-btn');
const close_button = document.querySelector('div.close-btn[role="button"]');
if (close_button)
close_button.click();
}