-
Notifications
You must be signed in to change notification settings - Fork 315
修复grant问题 #1199
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
修复grant问题 #1199
Conversation
你不介意这种和 TM 的不一致的话是OK的 |
这是为了和TM一致啊 不过在我印象中,确实TM只根据具体的来,也可能记错成其它管理器了 不过这种更大范围的grant也是可以接受的 |
TM 是乱来的。不同API对 |
| for (const grant of scriptGrants) { | ||
| // GM. 与 GM_ 都需要注入 | ||
| __methodInject__(grant); | ||
| if (grant.includes("GM.")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以用startWith
概述 Descriptions
#1169 的 GM_notification 改动有问题,GM.notification与“GM_notification”是不同的
另外新增了异步API的测试,grant授权时 GM.与GM_都会注入
变更内容 Changes
截图 Screenshots