Clear all cookies

Tries to recreate going into incognito mode for a website without actually opening an incognito tab

Autor
TetteDev
Dnevne instalacije
0
Ukupno instalacija
32
Ocene
0 0 0
Verzija
0.2
Napravljeno
03. 01. 2025
Ažurirano
03. 01. 2025
Size
2,1 КБ
Licenca
MIT
Važi za
All sites

Only tested with Tampermonkey BETA v5.3.6221

Simple script activated by either pressing ALT+F5 or pressing the button in the Tampermonkey GUI that supposedly simulates visiting a certain page for the first time, helpful in bypassing any clientside checks done by a website, such as forcing you to login or buy credits after doing something etc

What is does now is

  1. Clear any present httpOnly cookies (via GM_cookie)
  2. Sets all present cookies in document.cookie to be expired
  3. Clears window.caches
  4. Clears window.indexedDB
  5. Clears window.localstorage
  6. Clears window.sessionStorage