本頁面由 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 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 idle.onStateChanged idle.queryState idle.setDetectionInterval notifications.create notifications.onButtonClicked offscreen.Reason offscreen.closeDocument offscreen.createDocument omnibox.onDeleteSuggestion omnibox.onInputCancelled omnibox.onInputChanged omnibox.onInputEntered omnibox.onInputStarted omnibox.setDefaultSuggestion permissions.contains 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.lastError runtime.onConnect runtime.onInstalled runtime.onMessage 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 鬧鐘 書籤 browsingData clipboardWrite contentSettings contextMenus Google Cloud 網站上的 Cookie debugger declarativeNetRequest declarativeNetRequestFeedback declarativeNetRequestWithHostAccess 網站小圖示 fontSettings geolocation 歷史 閒置 nativeMessaging 通知 螢幕外 功率 印刷 privacy readingList 編寫指令碼 sidePanel 儲存空間 tabCapture tabGroups 分頁 topSites userScripts webNavigation webRequest webRequestAuthProvider