e621: bail if we're logged in
This commit is contained in:
parent
41fa36932a
commit
b386706465
1 changed files with 6 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue