JSClearCookie by PageClear
Clear the specified cookies by js
You'll need Firefox to use this extension
Extension Metadata
About this extension
通过JS脚本来自定义需要清除的Cookie 绝不收集任何隐私
使用方法
//定义需要清除的CookieName 若为空者清除对应网站上的所有Cookie
const cookieNames = [];
//JS发送清除Cookie请求
window.postMessage({ status: 1, message: "Clear-Cookie", cookieNameArr: cookieNames }, window.location.origin);
//JS接收返回消息
window.addEventListener('message', (event) => {
if (event.source == window && event.data.isSuccess) {
//TODO
}
});
使用方法
//定义需要清除的CookieName 若为空者清除对应网站上的所有Cookie
const cookieNames = [];
//JS发送清除Cookie请求
window.postMessage({ status: 1, message: "Clear-Cookie", cookieNameArr: cookieNames }, window.location.origin);
//JS接收返回消息
window.addEventListener('message', (event) => {
if (event.source == window && event.data.isSuccess) {
//TODO
}
});
Rate your experience
PermissionsLearn more
This add-on needs to:
- Access browser tabs
- Access your data for all websites
More information
- Version
- 1.1.1
- Size
- 12.37 KB
- Last updated
- 3 years ago (Jan 25, 2022)
- Related Categories
- License
- Mozilla Public License 2.0
- Version History
Add to collection
More extensions by PageClear
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet