Clear all cookies

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

Autor
TetteDev
Denně instalací
1
Celkem instalací
16
Hodnocení
0 0 0
Verze
0.2
Vytvořeno
03. 01. 2025
Aktualizováno
03. 01. 2025
Size
2,1 KB
Licence
MIT
Spustit na
všech stránkách

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