This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Function to get all cookies | |
function getCookies() { | |
return document.cookie.split(';').reduce((cookies, cookie) => { | |
const [name, value] = cookie.trim().split('='); | |
cookies[name] = decodeURIComponent(value); | |
return cookies; | |
}, {}); | |
} | |
// Function to get all localStorage items |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// keeps clapping in viewport | |
(async function() { | |
const events = ['mousedown', 'mouseup', 'click']; | |
function randomDelay(min, max) { | |
return Math.floor(Math.random() * (max - min + 1)) + min; | |
} | |
async function scrollToBottom() { |