Skip to content
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

在对 chrome 自定义参数后 GM_notification onclick 失效 #300

Open
P2K0 opened this issue Jul 16, 2024 · 4 comments
Open

在对 chrome 自定义参数后 GM_notification onclick 失效 #300

P2K0 opened this issue Jul 16, 2024 · 4 comments

Comments

@P2K0
Copy link

P2K0 commented Jul 16, 2024

chrome 自定义参数如下
--disable-web-security --user-data-dir=X:\ChromeDevUser

GM_notification({ text: `已关闭 [${Tips}] 功能\n(点击刷新网页后生效)`, timeout: 3500, onclick: function () { location.reload(); } });

onclick 会失效

@P2K0
Copy link
Author

P2K0 commented Jul 16, 2024

盲猜 由于指定 --user-data-dir 导致 GM 回调错进程

@CodFrm
Copy link
Member

CodFrm commented Jul 19, 2024

是不是有啥配置没开启呢

@P2K0
Copy link
Author

P2K0 commented Jul 23, 2024

是不是有啥配置没开启呢

指的是?

@CodFrm
Copy link
Member

CodFrm commented Jul 23, 2024

不太清楚 但是应该和这个没关系吧 ,可能是因为这个,一些配置变化了?我也没遇到过

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants