Skip to content

Commit

Permalink
Update files/zh-cn/mozilla/add-ons/webextensions/api/action/getbadget…
Browse files Browse the repository at this point in the history
…extcolor/index.md
  • Loading branch information
PassionPenguin authored Aug 9, 2024
1 parent f78921b commit e534780
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ browser.action.getBadgeTextColor({}).then(onGot, onFailure);
{{Compat}}

> [!NOTE]
> 该 API 基于 Chromium 的 [`chrome.action`](https://developer.chrome.com/docs/extensions/reference/action/#method-getBadgeBackgroundColor) API。该文档衍生于 Chromium 代码中的 [`browser_action.json`](https://chromium.googlesource.com/chromium/src/+/master/chrome/common/extensions/api/browser_action.json)
> 该 API 基于 Chromium 的 [`chrome.action`](https://developer.chrome.com/docs/extensions/reference/action/#method-getBadgeTextColor) API。该文档衍生于 Chromium 代码中的 [`browser_action.json`](https://chromium.googlesource.com/chromium/src/+/master/chrome/common/extensions/api/browser_action.json)
<!--
// Copyright 2015 The Chromium Authors. All rights reserved.
Expand Down

0 comments on commit e534780

Please sign in to comment.