示例扩展程序
根据关键字过滤: | |
根据 API 过滤: |
accessibilityFeatures | alarms | automationbookmarks | browserAction | browsingData | commands | contentSettings | contextMenus | cookies | debugger | declarativeContent | declarativeWebRequest | desktopCapture | devtools.inspectedWindow | devtools.network | devtools.panels | downloads | enterprise.platformKeys | events | experimental.devtools.audits | experimental.devtools.consoleextension | fileBrowserHandler | fontSettings | gcm | history | i18n | identity | idle | infobars | input.ime | location | management | notifications | omnibox | pageAction | pageCapture | permissions | power | privacy | processes | proxy | pushMessaging | runtime | sessionssignedInDevicesstorage | system.cpu | system.memory | system.storage | tabCapture | tabs | topSites | tts | ttsEngine | types | webNavigation | webRequest | webstore | windows
|
My Bookmarks
A browser action with a popup dump of all bookmarks, including search, add, edit and delete.Page Redder
Make the current page redPrint this page
Adds a print button to the browser.A browser action which changes its icon when clicked
Change browser action color when its icon is clickedA browser action with a popup that changes the page color
Change the current page colorBrowsingData API: Basics
A trivial usage example.Sample Extension Commands extension
Press Ctrl+Shift+F (Command+Shift+F on a Mac) to open the browser action popup, press Ctrl+Shift+Y to send an event (Command+Shift+Y on a Mac).Content settings
Shows the content settings for the current site.Context Menus Sample
Shows some of the features of the Context Menus API
源文件:
Context Menus Sample (with Event Page)
Shows some of the features of the Context Menus API using an event page
源文件:
Cookie API Test Extension
Testing Cookie API
调用:
Live HTTP headers
Displays the live log with the http requests headers
调用:
JavaScript pause/resume
Pauses / resumes JavaScript execution
调用:
Desktop Capture Example
Show desktop media picker UI
调用:
My Devices
A browser action with a popup dump of all devices signed into the same account as the current profile.Broken Links
Extends the Developer Tools, adding an audit category that finds broken links on the inspected page.
调用:
Chrome Preprocessor Example
Simple hello-world example for chrome.devtools.inspectedWindow.reload() using preprocessor.FirePHP for Chrome
Extends the Developer Tools, adding support for parsing FirePHP messages from server
调用:
Chrome Query
Extends the Developer Tools, adding a sidebar that displays the jQuery data associated with the selected DOM element.
调用:
Download Filename Controller
Download Filename ControllerDownload Selected Links
Select links on a page and download them.
调用:
Download Manager Button
Browser Action Download Manager User Interface for Google Chrome
调用:
browserAction.setIcon
downloads.acceptDanger
downloads.cancel
downloads.download
downloads.drag
downloads.erase
downloads.getFileIcon
downloads.onChanged
downloads.onCreated
downloads.onErased
downloads.open
downloads.pause
downloads.removeFile
downloads.resume
downloads.search
downloads.setShelfEnabled
downloads.show
downloads.showDefaultFolder
i18n.getMessage
permissions.contains
permissions.request
runtime.onMessage
runtime.sendMessage
tabs.create
Download and Open Button
Download and Open Context Menu Button
调用:
Downloads Overwrite Existing Files
All downloads overwrite existing files instead of adding ' (1)', ' (2)', etc.
源文件:
Event Page Example
Demonstrates usage and features of the event page
调用:
alarms.create
alarms.onAlarm
bookmarks.onRemoved
browserAction.onClicked
browserAction.setBadgeText
commands.onCommand
declarativeWebRequest.RedirectRequest
declarativeWebRequest.RequestMatcher
runtime.onInstalled
runtime.onMessage
runtime.onSuspend
runtime.sendMessage
tabs.create
tabs.executeScript
tabs.query
tabs.sendMessage
`extension.isAllowedFileSchemeAccess` and `extension.isAllowedIncognitoAccess` Example
Demonstrates the `extension.isAllowedFileSchemeAccess` and `extesion.isAllowedIncognitoAccess` APIsAdvanced Font Settings
Customize per-script font settings.
调用:
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
源文件:
fonts128.png
fonts16.png
manifest.json
options.html
options.js
pending_changes.js
slider.css
slider.js
js/cr.js
css/chrome_shared.css
css/overlay.css
css/uber_shared.css
css/widgets.css
images/disabled_select.png
images/select.png
images/x-hover.png
images/x-pressed.png
images/x.png
images/slider/slide_bar_center.png
images/slider/slide_bar_disabled_center.png
images/slider/slide_bar_disabled_left.png
images/slider/slide_bar_disabled_right.png
images/slider/slide_bar_fill_center.png
images/slider/slide_bar_fill_left.png
images/slider/slide_bar_fill_right.png
images/slider/slide_bar_left.png
images/slider/slider_bar_right.png
images/slider/slider_thumb.png
images/slider/slider_thumb_disabled.png
images/slider/slider_thumb_down.png
images/slider/slider_thumb_hover.png
js/cr/ui.js
js/cr/ui/overlay.js
Typed URL History
Reads your history, and shows the top ten pages you go to by typing the URL.CLD
Displays the language of a tab
调用:
AcceptLanguage
Returns accept languages of the browserMinimal Localized Hosted App
This is the minimal set of data required to upload a localized hosted application to the web store.
调用:
Idle - Simple Example
Demonstrates the Idle APISandwichBar
Shows an infobar on pages which contain the word 'sandwich'Message Timer
Times how long it takes to send a message to a content script and back.Native Messaging Example
Send a message to a native application.Notification Demo
Shows off desktop notifications, which are "toast" windows that pop up on the desktop.
调用:
Omnibox Example
To use, type 'omnix' plus a search term into the Omnibox.Page action by content
Shows a page action for HTML pages containing a videoPage action by URL
Shows a page action for urls which have the letter 'g' in them.Animated Page Action
This extension adds an animated browser action to the toolbar.
调用:
Top Chrome Extension Questions
Sample demonstration of the optional permissions API.
调用:
Keep Awake
Override system power-saving settings.
调用:
Block/allow third-party cookies API example extension
Sample extension which demonstrates how to access a preference.Block/allow referrer API example extension
Sample extension which demonstrates how to access a preference.Process Monitor
Adds a browser action that monitors resource usage of all browser processes.Show Tabs in Process
Adds a browser action showing which tabs share the current tab's process.
调用:
Stylizr
Spruce up your pages with custom CSS.
调用:
Tab Inspector
Utility for working with the extension tabs api
调用:
browserAction.onClicked
extension.getURL
tabs.create
tabs.get
tabs.getAllInWindow
tabs.move
tabs.onAttached
tabs.onCreated
tabs.onDetached
tabs.onMoved
tabs.onRemoved
tabs.onSelectionChanged
tabs.onUpdated
tabs.query
tabs.remove
tabs.update
windows.create
windows.get
windows.getAll
windows.getCurrent
windows.getLastFocused
windows.onCreated
windows.onFocusChanged
windows.onRemoved
windows.remove
windows.update
Keyboard Pin
Creates a keyboard shortcut (Alt + Shift + P) to toggle the pinned state of the currently selected tabTest Screenshot Extension
Demonstrate screenshot functionality in the chrome.tabs api. Note: only works for code.google.com
调用:
Top Sites
Shows the top sites in a browser actionNTP prototyping extension
extension to prototype new NTP designs
调用:
Console TTS Engine
A "silent" TTS engine that prints text to a small window rather than synthesizing speech.
调用:
WebNavigation Tech Demo
Demonstration of the WebNavigation extension API.
调用:
extension.onRequest
extension.sendRequest
i18n.getMessage
runtime.onStartup
storage.StorageArea.get
storage.StorageArea.set
webNavigation.onBeforeNavigate
webNavigation.onCommitted
webNavigation.onCompleted
webNavigation.onCreatedNavigationTarget
webNavigation.onErrorOccurred
webNavigation.onHistoryStateUpdated
webNavigation.onReferenceFragmentUpdated
Merge Windows
Merges all of the browser's windows into the current windowCalculator
A simple calculator.App Launcher
Get access to your apps in a browser actionChromium Buildbot Monitor
Displays the status of the Chromium buildbot in the toolbar. Click to see more detailed status in a popup.
调用:
Google Calendar Checker(由 Google 提供)
快速查看离您的任意日历中下一次会议还有多长时间。您只需点击该按钮即可进入自己的日历。
调用:
源文件:
manifest.json
javascript/background.js
javascript/options.js
javascript/util.js
views/background.html
views/options.html
images/calendar_logo.gif
images/icon-128.gif
images/icon-16.gif
images/icon-16_bw.gif
_locales/sr/messages.json
_locales/sk/messages.json
_locales/vi/messages.json
_locales/pt_BR/messages.json
_locales/hu/messages.json
_locales/fi/messages.json
_locales/el/messages.json
_locales/es/messages.json
_locales/de/messages.json
_locales/lv/messages.json
_locales/nl/messages.json
_locales/th/messages.json
_locales/ja/messages.json
_locales/ca/messages.json
_locales/cs/messages.json
_locales/id/messages.json
_locales/nb/messages.json
_locales/fr/messages.json
_locales/pl/messages.json
_locales/en/messages.json
_locales/zh_TW/messages.json
_locales/he/messages.json
_locales/es_419/messages.json
_locales/it/messages.json
_locales/pt_PT/messages.json
_locales/lt/messages.json
_locales/et/messages.json
_locales/en_GB/messages.json
_locales/fil/messages.json
_locales/sv/messages.json
_locales/hr/messages.json
_locales/ko/messages.json
_locales/ro/messages.json
_locales/bg/messages.json
_locales/ar/messages.json
_locales/da/messages.json
_locales/ru/messages.json
_locales/hi/messages.json
_locales/sl/messages.json
_locales/uk/messages.json
_locales/tr/messages.json
_locales/zh_CN/messages.json
CatBlock
I can't has cheezburger!Catifier
Moar cats!
调用:
Chromium Search
Add support to the omnibox to search the Chromium source code.
调用:
Email this page (by Google)
This extension adds an email button to the toolbar which allows you to email the page link using your default mail client or Gmail.
调用:
Chrome Sounds
Enjoy a more magical and immersive experience when browsing the web using the power of sound.
调用:
bookmarks.onCreated
bookmarks.onMoved
bookmarks.onRemoved
extension.getBackgroundPage
extension.onRequest
extension.sendRequest
tabs.get
tabs.onAttached
tabs.onCreated
tabs.onDetached
tabs.onMoved
tabs.onRemoved
tabs.onSelectionChanged
tabs.onUpdated
windows.onCreated
windows.onFocusChanged
windows.onRemoved
Google Document List Viewer
Demonstrates how to use OAuth to connect the Google Documents List Data API.
源文件:
README
background.html
chrome_ex_oauth.html
chrome_ex_oauth.js
chrome_ex_oauthsimple.js
manifest.json
options.html
popup.html
img/docs_spreadsheets-128.gif
img/docs_spreadsheets-32.gif
img/docs_spreadsheets-48.gif
js/jquery-1.4.1.min.js
img/icons/audio.gif
img/icons/document.gif
img/icons/file.gif
img/icons/folder.gif
img/icons/form.gif
img/icons/pdf.gif
img/icons/presentation.gif
img/icons/spreadsheet.gif
img/icons/trashed.png
Google Mail Checker
显示 Google Mail 收件箱中的未读邮件数。点击该按钮还可以打开您的收件箱。
调用:
alarms.create
alarms.get
alarms.onAlarm
browserAction.onClicked
browserAction.setBadgeBackgroundColor
browserAction.setBadgeText
browserAction.setIcon
i18n.getMessage
runtime.onInstalled
runtime.onStartup
runtime.onStartup
tabs.create
tabs.getAllInWindow
tabs.onUpdated
tabs.update
webNavigation.onDOMContentLoaded
webNavigation.onDOMContentLoaded
webNavigation.onReferenceFragmentUpdated
webNavigation.onReferenceFragmentUpdated
windows.onCreated
源文件:
background.html
background.js
gmail_logged_in.png
gmail_not_logged_in.png
icon_128.png
manifest.json
_locales/es/messages.json
_locales/nl/messages.json
_locales/pt_BR/messages.json
_locales/ar/messages.json
_locales/sk/messages.json
_locales/pt_PT/messages.json
_locales/lv/messages.json
_locales/ro/messages.json
_locales/hr/messages.json
_locales/nb/messages.json
_locales/fil/messages.json
_locales/hi/messages.json
_locales/sv/messages.json
_locales/ko/messages.json
_locales/cs/messages.json
_locales/da/messages.json
_locales/sl/messages.json
_locales/pl/messages.json
_locales/es_419/messages.json
_locales/en_GB/messages.json
_locales/fi/messages.json
_locales/zh_CN/messages.json
_locales/en/messages.json
_locales/vi/messages.json
_locales/hu/messages.json
_locales/he/messages.json
_locales/th/messages.json
_locales/id/messages.json
_locales/bg/messages.json
_locales/ca/messages.json
_locales/el/messages.json
_locales/sr/messages.json
_locales/zh_TW/messages.json
_locales/ja/messages.json
_locales/tr/messages.json
_locales/uk/messages.json
_locales/it/messages.json
_locales/fr/messages.json
_locales/et/messages.json
_locales/ru/messages.json
_locales/lt/messages.json
_locales/de/messages.json
Imageinfo
Get image info for images, including EXIF dataManaged Bookmarks
Adds bookmarks configured by your system administrator to Chrome.
调用:
Mappy
Finds addresses in the web page you're on and pops up a map window.
调用:
News Reader (by Google)
Displays the latest stories from Google News in a popup.
源文件:
manifest.json
images/buzz.png
images/delete-icon.png
images/fb.png
images/news.gif
images/news_action.png
images/news_icon.png
images/sprite_arrows.gif
images/twitter.png
css/feed.css
css/options.css
javascript/feed.js
javascript/options.js
javascript/util.js
views/background.html
views/feed.html
views/options.html
_locales/en/messages.json
News Reader
Displays the first 5 items from the 'Google News - top news' RSS feed in a popup.
调用:
News Reader
Displays the first 5 items from the '$Google$ News - top news' RSS feed in a popup.
调用:
Sample - OAuth Contacts
Uses OAuth to connect to Google's contacts service and display a list of your contacts.
调用:
Per-plugin content settings
Customize your content setting for different plug-ins.
调用:
源文件:
bunny128.png
bunny48.png
manifest.json
options.html
js/chrome_stubs.js
js/main.js
js/plugin_list.js
js/plugin_list_test.html
js/plugin_settings.js
js/plugin_settings_test.html
js/rule_list.js
js/rule_list_test.html
css/plugin_list.css
css/rule_list.css
domui/css/button.css
domui/css/chrome_shared.css
domui/css/list.css
domui/css/select.css
options/images/close_bar.png
options/images/close_bar_h.png
options/images/close_bar_p.png
options/css/list.css
options/js/deletable_item_list.js
options/js/inline_editable_list.js
domui/images/select.png
domui/js/cr.js
domui/js/util.js
_locales/en/messages.json
domui/js/cr/event_target.js
domui/js/cr/ui.js
domui/js/cr/ui/array_data_model.js
domui/js/cr/ui/list.js
domui/js/cr/ui/list_item.js
domui/js/cr/ui/list_selection_controller.js
domui/js/cr/ui/list_selection_model.js
domui/js/cr/ui/list_single_selection_model.js
Proxy Extension API Sample
Set Chrome-specific proxies; a demonstration of Chrome's Proxy API
调用:
Speak Selection
Speaks the current selection out loud.
调用:
Talking Alarm Clock
A clock with two configurable alarms that will play a sound and speak a phrase of your choice.
源文件:
background.js
blank-clock-150.png
blank-clock-ring1-150.png
blank-clock-ring2-150.png
clock-128.png
clock-16.png
clock-19.png
clock-256.png
clock-48.png
clock-disabled-19.png
clock-highlighted-19.png
common.js
credits.html
manifest.json
play.png
popup.html
popup.js
audio/cuckoo.ogg
audio/digital.ogg
audio/metal.ogg
audio/ringing.ogg
audio/rooster.ogg
TTS Debug
Tool for developers of Chrome TTS engine extensions to help them test their engines are implementing the API correctly.TTS Demo
Demo Chrome's synthesized text-to-speech capabilities.Content Script Cross-Domain XMLHttpRequest Example
Demonstrates making cross domain requests from a content script by putting Twitter trends on Google News.
调用:
Sandboxed Frame
Demonstrate use of handlebars inside a sandboxed frameTab Shortcuts
Allows pinning and duplication of tabs via keyboard shortcuts.Event Tracking with Google Analytics
A sample extension which uses Google Analytics to track usage.
调用:
One-click Kittens
This extension demonstrates a 'browser action' with kittens.
调用: