From 6e9641a173739c497a933c9c5de045edc85bb942 Mon Sep 17 00:00:00 2001 From: Hoarfroster Date: Wed, 18 Sep 2024 10:40:23 +0800 Subject: [PATCH] zh-CN: create `extensionTypes.InjectDetails` (#23530) --- .../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..53a2b96d76f2e2 --- /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()")}}