-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
zh-CN: create RegisteredUserScript.unregister()
#24964
base: main
Are you sure you want to change the base?
Conversation
Preview URLs Flaws (13)URL:
(comment last updated: 2024-12-21 13:07:01) |
{{WebExtAPIRef("userScripts.RegisteredUserScript","RegisteredUserScript")}} 对象的 `unregister()` 方法注销由该对象表示的用户脚本(用户脚本是使用 {{WebExtAPIRef("userScripts.register","userScripts.register()")}} 注册的)。 | ||
|
||
> [!NOTE] | ||
> 当相关的扩展页面(从中注册了用户脚本)卸载时,用户脚本会被自动注销,因此你应该从一个至少持续到你希望用户脚本保持注册的扩展页面中注册用户脚本。 |
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.
“因此”后面的翻译还须修改
请再修改一下前面提到的那句话 |
...zh-cn/mozilla/add-ons/webextensions/api/userscripts/registereduserscript/unregister/index.md
Outdated
Show resolved
Hide resolved
仍然不是很确定,这句话直接译出来估计会很臃肿……
|
at least as long as you want... 应该是“至少(持续时间)相同”的意思 |
yes,但是要直接揉进去这个句子里面的话,会有点怪异……或者就意译 之前也尝试让LLM给了十几个参考,都没有找到一个比较好的(都怪怪的,要么就干脆改变意思了) |
No description provided.