Clear all cookies

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

作者
TetteDev
日安装量
0
总安装量
14
评分
0 0 0
版本
0.2
创建于
2025-01-03
更新于
2025-01-03
大小
2.1 KB
许可证
MIT
适用于
所有网站

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