Closed
Conversation
CodFrm
reviewed
Jan 4, 2026
| } | ||
|
|
||
| @GMContext.API() | ||
| @GMContext.API({ depend: ["GM_setValue"] }) |
Collaborator
Author
There was a problem hiding this comment.
只为了统一写好看一点。依赖的部份是后台 service_worker 的 GM_setValue
当然因为同一名字,service_worker 的 GM_setValue 会自动授权
Collaborator
Author
There was a problem hiding this comment.
呀,我理解錯了。加了可能有問題。我改
Collaborator
Author
|
37f6dee to
a2e0a74
Compare
Collaborator
Author
|
ScriptCat 設計問題, this.XXXX 設計導致 需要 depend
反過來 TM 不 depend 的話在後台API加 link也是可行 現在搞一堆 this this this的 OOP設計 |
Collaborator
Author
|
放弃处理 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.