Advertisement
ForkFullFight

Test for bookmarklets

Sep 22nd, 2023
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. function login(token) {
  2. setInterval(() => {
  3. document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"`
  4. }, 50);
  5. setTimeout(() => {
  6. location.reload();
  7. }, 200);
  8. }
  9. login("NO8ibwtPsQiR0G4S4TvYGDIVAu8J_xh9")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement