-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
打开StackOverFlow总是会弹出“Accept all cookies”的策略,而且点击上面的按钮无效 #162
Comments
安装插件 Accept All Cookies |
@justjavac 通过下载扩展,并查看源码,发现上述扩展是注入JS, 修改CSS 优先级,把框隐藏了。并没有解决问题 控制台执行下列命令即可,重现问题: document.cookie.split(";") 办法:往下看 |
解决办法:暂列三种解决办法 (推荐办法一) 办法一: 清除本域名(stackoverflow.com) 下的cookie 信息即可
办法二: 执行一条规则即可
[
{
"action": {
"requestHeaders": [
{
"header": "cookie",
"operation": "remove"
}
],
"type": "modifyHeaders"
},
"condition": {
"requestDomains": ["stackoverflow.com"],
"resourceTypes": [
"main_frame",
"sub_frame",
"stylesheet",
"script",
"image",
"font",
"object",
"xmlhttprequest",
"ping",
"csp_report",
"media",
"websocket",
"webtransport",
"webbundle",
"other"
],
"urlFilter": "*"
},
"id": 1,
"priority": 100
}
]
办法三: 浏览器的安全选项:设置为停用 ( chromium 启动参数里 添加 -–disable-web-security) |
@heyzoeys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请教大家该如何解决这个问题, 谢谢!!
The text was updated successfully, but these errors were encountered: