此页面由 Cloud Translation API 翻译。 首页 Docs Chrome Extensions 示例 示例 浏览 Chrome 扩展程序示例 代码库中的示例。您可以使用这些教程了解扩展程序的工作原理,也可以将其作为构建自己的扩展程序的起点。 action.disable action.enable action.getBadgeBackgroundColor action.getBadgeText action.getBadgeTextColor action.getPopup action.getTitle action.isEnabled action.onClicked action.setBadgeBackgroundColor action.setBadgeText action.setBadgeTextColor action.setIcon action.setPopup action.setTitle aiOriginTrial.languageModel.availability aiOriginTrial.languageModel.create aiOriginTrial.languageModel.params alarms.clear alarms.clearAll alarms.create alarms.get alarms.getAll alarms.onAlarm bookmarks.create bookmarks.getTree bookmarks.remove bookmarks.search bookmarks.update browsingData.remove commands.onCommand contextMenus.create contextMenus.onClicked contextMenus.remove cookies.getAll cookies.remove debugger.attach debugger.onEvent debugger.sendCommand declarativeNetRequest.getDynamicRules declarativeNetRequest.getMatchedRules declarativeNetRequest.isRegexSupported declarativeNetRequest.onRuleMatchedDebug declarativeNetRequest.setExtensionActionOptions declarativeNetRequest.updateDynamicRules devtools.inspectedWindow.getResources devtools.panels.create devtools.panels.elements fontSettings.clearDefaultFixedFontSize fontSettings.clearDefaultFontSize fontSettings.clearFont fontSettings.clearMinimumFontSize fontSettings.getDefaultFixedFontSize fontSettings.getDefaultFontSize fontSettings.getFont fontSettings.getFontList fontSettings.getMinimumFontSize fontSettings.onDefaultFixedFontSizeChanged fontSettings.onDefaultFontSizeChanged fontSettings.onFontChanged fontSettings.onMinimumFontSizeChanged fontSettings.setDefaultFixedFontSize fontSettings.setDefaultFontSize fontSettings.setFont fontSettings.setMinimumFontSize history.deleteAll history.deleteUrl history.getVisits history.search i18n.getMessage identity.AccountStatus identity.getAuthToken identity.getProfileUserInfo identity.removeCachedAuthToken idle.onStateChanged idle.queryState idle.setDetectionInterval management.getAll notifications.create notifications.onButtonClicked offscreen.Reason offscreen.closeDocument offscreen.createDocument omnibox.onDeleteSuggestion omnibox.onInputCancelled omnibox.onInputChanged omnibox.onInputEntered omnibox.onInputStarted omnibox.setDefaultSuggestion permissions.addHostAccessRequest permissions.contains permissions.onAdded permissions.request power.releaseKeepAwake power.requestKeepAwake printing.cancelJob printing.getPrinterInfo printing.getPrinters printing.onJobStatusChanged printing.submitJob privacy.services readingList.addEntry readingList.onEntryAdded readingList.onEntryRemoved readingList.onEntryUpdated readingList.query readingList.removeEntry readingList.updateEntry runtime.OnInstalledReason runtime.connect runtime.connectNative runtime.getContexts runtime.getManifest runtime.getURL runtime.id runtime.lastError runtime.onConnect runtime.onInstalled runtime.onMessage runtime.onMessageExternal runtime.onStartup runtime.openOptionsPage runtime.sendMessage scripting.executeScript scripting.getRegisteredContentScripts scripting.insertCSS scripting.registerContentScripts scripting.removeCSS scripting.unregisterContentScripts sidePanel.getOptions sidePanel.open sidePanel.setOptions sidePanel.setPanelBehavior storage.local storage.onChanged storage.session storage.sync tabCapture.getMediaStreamId tabGroups.update tabs.captureVisibleTab tabs.create tabs.get tabs.getZoom tabs.getZoomSettings tabs.group tabs.move tabs.onActivated tabs.onAttached tabs.onCreated tabs.onDetached tabs.onMoved tabs.onRemoved tabs.onUpdated tabs.onZoomChange tabs.query tabs.remove tabs.sendMessage tabs.setZoom tabs.setZoomSettings tabs.update topSites.get userScripts.getScripts userScripts.register userScripts.update webNavigation.onCompleted webNavigation.onDOMContentLoaded webRequest.onAuthRequired windows.create windows.get windows.getAll windows.getCurrent windows.getLastFocused windows.onBoundsChanged windows.onCreated windows.onFocusChanged windows.onRemoved windows.remove windows.update activeTab aiLanguageModelOriginTrial 闹钟 书签 browsingData clipboardWrite contentSettings contextMenus Cookie debugger declarativeNetRequest declarativeNetRequestFeedback declarativeNetRequestWithHostAccess 网站图标 fontSettings 地理定位 历史记录 身份 identity.email 空闲 管理 nativeMessaging 通知 屏幕外 幂数 印刷 隐私权 readingList 脚本编写 sidePanel 存储 tabCapture tabGroups 标签页 topSites userScripts webNavigation webRequest webRequestAuthProvider