From ac735b17f139999a16d03b5047de169fc321b01e Mon Sep 17 00:00:00 2001 From: hoarfroster Date: Fri, 13 Sep 2024 21:22:43 +0800 Subject: [PATCH 1/2] feat: update translation --- .../api/extensiontypes/injectdetails/index.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 files/zh-cn/mozilla/add-ons/webextensions/api/extensiontypes/injectdetails/index.md diff --git a/files/zh-cn/mozilla/add-ons/webextensions/api/extensiontypes/injectdetails/index.md b/files/zh-cn/mozilla/add-ons/webextensions/api/extensiontypes/injectdetails/index.md new file mode 100644 index 00000000000000..de93e160811d39 --- /dev/null +++ b/files/zh-cn/mozilla/add-ons/webextensions/api/extensiontypes/injectdetails/index.md @@ -0,0 +1,14 @@ +--- +title: extensionTypes.InjectDetails +slug: Mozilla/Add-ons/WebExtensions/API/extensionTypes/InjectDetails +l10n: + sourceCommit: 2c5465eab20015868a1eeca59c5623d37b105f7c +--- + +{{AddonSidebar}} + +这一类型作为参数传递给 `tabs.executeScript()`、`tabs.insertCSS()` 和 `tabs.removeCSS()` 方法。有关其属性的详细信息以及它们的用途,请参阅这些方法的文档页面: + +- {{WebExtAPIRef("tabs.executeScript()")}} +- {{WebExtAPIRef("tabs.insertCSS()")}} +- {{WebExtAPIRef("tabs.removeCSS()")}} From 4be5d820c94adbe78e14fb3549a6b1c274da2073 Mon Sep 17 00:00:00 2001 From: Hoarfroster Date: Fri, 13 Sep 2024 21:29:14 +0800 Subject: [PATCH 2/2] fix: frontmatter --- .../webextensions/api/extensiontypes/injectdetails/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/zh-cn/mozilla/add-ons/webextensions/api/extensiontypes/injectdetails/index.md b/files/zh-cn/mozilla/add-ons/webextensions/api/extensiontypes/injectdetails/index.md index de93e160811d39..53a2b96d76f2e2 100644 --- a/files/zh-cn/mozilla/add-ons/webextensions/api/extensiontypes/injectdetails/index.md +++ b/files/zh-cn/mozilla/add-ons/webextensions/api/extensiontypes/injectdetails/index.md @@ -2,7 +2,7 @@ title: extensionTypes.InjectDetails slug: Mozilla/Add-ons/WebExtensions/API/extensionTypes/InjectDetails l10n: - sourceCommit: 2c5465eab20015868a1eeca59c5623d37b105f7c + sourceCommit: 2c5465eab20015868a1eeca59c5623d37b105f7c --- {{AddonSidebar}}