1
Fork 0

e621: bail if we're logged in

This commit is contained in:
Conduitry 2020-04-05 18:07:07 -04:00
parent 41fa36932a
commit b386706465

View file

@ -8,7 +8,12 @@
// ==/UserScript==
// remove guest warning modal
document.querySelector('.guest-warning').remove();
if (document.querySelector('.guest-warning')) {
document.querySelector('.guest-warning').remove();
} else {
// either we're logged in or we're on the landing page and we have nothing to do
return;
}
// disable automatic blacklist
localStorage.setItem('dab', '1');