.addEventListener('DOMContentLoaded', async () => {
      if (document.cookie.includes("privacy=soft")) document.body.classList.toggle("soft-encrypted")
      else if (document.cookie.includes("privacy=hard")) document.body.classList.toggle("encrypted")
    })

    async function auto_refresh(async_callback) {
      await sleep(21000)
      while(document.hidden || document.cookie.includes('refresh=false') || document.activeElement.nodeName == "INPUT" || document.querySelectorAll('tr:hover').length === 1) {