Automatically close annoying WSJ popup
parent
d8cdc2c74c
commit
f48feae6ae
|
@ -54,3 +54,9 @@ if (window.location.href.indexOf("washingtonpost.com") !== -1) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (window.location.href.indexOf("wsj.com") !== -1) {
|
||||
if (location.href.includes('/articles/')) {
|
||||
document.querySelector('.close-btn').click();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,5 +19,5 @@
|
|||
"page": "options.html"
|
||||
},
|
||||
"permissions": [ "cookies", "<all_urls>", "storage", "webRequest", "webRequestBlocking"],
|
||||
"version": "1.5.1"
|
||||
"version": "1.5.2"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue