Automatically close WSJ popup
parent
ca07bc4bd0
commit
1c8516b549
|
@ -82,7 +82,7 @@
|
|||
### Sites with limited number of free articles
|
||||
The free article limit can normally be bypassed by removing cookies for the site.*
|
||||
|
||||
Install my [Cookie Remover](https://addons.mozilla.org/en-US/firefox/addon/cookie-remover/) Add-on.
|
||||
Install the [Cookie Remover](https://addons.mozilla.org/en-US/firefox/addon/cookie-remover/) Add-on.
|
||||
|
||||
When coming across a paywall click the cookie icon to remove the cookies then refresh the page.
|
||||
|
||||
|
|
|
@ -56,4 +56,10 @@ if (window.location.href.indexOf("bizjournals.com") !== -1) {
|
|||
document.querySelector('.gdpr-consent-container .consent-page:not(.hide) .continue-btn.button.accept-consent').click();
|
||||
}
|
||||
}
|
||||
} else if (window.location.href.indexOf("wsj.com") !== -1) {
|
||||
if (location.href.includes('/articles/')) {
|
||||
setTimeout(function() {
|
||||
document.querySelector('.close-btn').click();
|
||||
}, 2000);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue