Clear site data and reload (Alt+Shift+D)

Clear cookies & storage for current site, then reload. Hotkey + menu + optional button.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Raj B
日安装量
0
总安装量
6
评分
0 0 0
版本
1.1
创建于
2025-12-11
更新于
2025-12-11
大小
6.0 KB
许可证
MIT
适用于
所有网站

Modern web applications store a lot of state in your browser — things like cookies, local storage, session storage, IndexedDB, and service worker caches.

Over time, this can lead to:

🔁 Stuck or half-logged-in sessions

🚫 Weird “You are not authorized / Please sign in” loops

🧪 Test environments behaving differently from a truly fresh session

Manually clearing this state is tedious. You typically have to open DevTools or browser settings, find the right site, clear data, and reload.

This how-to removes that friction by giving you a single hotkey and menu option that:

🧹 Clears as much site data as the browser allows for the current origin:

Cookies (non-HttpOnly)

localStorage and sessionStorage

Cache Storage (caches)

Service worker registrations

IndexedDB (where supported)

🔄 Automatically reloads the page

✅ Shows a confirmation dialog and a brief toast banner so you know what’s happening

🌍 Works on all websites via TamperMonkey

⌨️ Uses a low-conflict, easy-to-remember hotkey: Alt + Shift + D (“D for Data”)