-
Notifications
You must be signed in to change notification settings - Fork 309
[v1.3] GM API 定义修正 #1132
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
[v1.3] GM API 定义修正 #1132
Conversation
@CodFrm
CodFrm
left a comment
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.
函数签名改动了,我放到release/v1.3了
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.
怎么依赖自己
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.
只为了统一写好看一点。依赖的部份是后台 service_worker 的 GM_setValue
当然因为同一名字,service_worker 的 GM_setValue 会自动授权
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.
呀,我理解錯了。加了可能有問題。我改
函数签名改动了,我放到release/v1.3了
(削除) 你喜欢吧。我看起来是 bug ( 跟TM不一致) (削除ここまで)
37f6dee to
a2e0a74
Compare
ScriptCat 設計問題,@grant 的 async 版 vs sync 版 問題先不處理
this.XXXX 設計導致 需要 depend
這會跟 TM 不一致
@grant GM.getTab
這個在TM不會有 GM_getTab
但SC有 GM_getTab
反過來 TM GM_XXXX 會同時給予 GM.XXXX
但SC沒有
不 depend 的話在後台API加 link也是可行
前台API要改 this.xxxx 寫法
現在搞一堆 this this this的 OOP設計
又要bind又要depend...
不太支持這做法
Uh oh!
There was an error while loading. Please reload this page.