This page was saved using WebZIP 7.0.3.1030 offline browser on 12/24/13 11:31:36.
Address: https://crxdoc-zh.appspot.com/extensions/samples.html
Title: 示例扩展程序 - Google Chrome 扩展程序开发文档(非官方中文版)  •  Size: 194266

示例扩展程序

My Bookmarks

A browser action with a popup dump of all bookmarks, including search, add, edit and delete.
调用:
源文件:

Page Redder

Make the current page red
调用:
源文件:
Adds a print button to the browser.
调用:
源文件:

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).
调用:
源文件:

Context Menus Sample

Shows some of the features of the Context Menus API
调用:
源文件:

My Devices

A browser action with a popup dump of all devices signed into the same account as the current profile.
调用:
源文件:
Extends the Developer Tools, adding an audit category that finds broken links on the inspected page.
调用:
源文件:

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.
调用:
源文件:

Downloads Overwrite Existing Files

All downloads overwrite existing files instead of adding ' (1)', ' (2)', etc.
调用:
源文件:

Typed URL History

Reads your history, and shows the top ten pages you go to by typing the URL.
调用:
源文件:

Minimal Localized Hosted App

This is the minimal set of data required to upload a localized hosted application to the web store.
调用:
源文件:

Message Timer

Times how long it takes to send a message to a content script and back.
调用:
源文件:

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.
调用:
源文件:

Blank new tab page

Override the new tab page with a blank one
调用:
源文件:

iGoogle new tab page

Override the new tab page with iGoogle
调用:
源文件:

Page action by content

Shows a page action for HTML pages containing the word 'sandwich'
调用:
源文件:

Page action by URL

Shows a page action for urls which have the letter 'g' in them.
调用:
源文件:

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.
调用:
源文件:

Keyboard Pin

Creates a keyboard shortcut (Alt + Shift + P) to toggle the pinned state of the currently selected tab
调用:
源文件:

Test 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 action
调用:
源文件:

NTP 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.
调用:
源文件:

Google Calendar Checker(由 Google 提供)

快速查看离您的任意日历中下一次会议还有多长时间。您只需点击该按钮即可进入自己的日历。
调用:
源文件:

CatBlock

I can't has cheezburger!
调用:
源文件:

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.
调用:
源文件:

Google Mail Checker

显示 Google Mail 收件箱中的未读邮件数。点击该按钮还可以打开您的收件箱。
调用:
源文件:

Chromium IRC App

调用:
源文件:

Google Maps

调用:
源文件:

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.
调用:
源文件:

TTS Debug

Tool for developers of Chrome TTS engine extensions to help them test their engines are implementing the API correctly.
调用:
源文件:

Content Script Cross-Domain XMLHttpRequest Example

Demonstrates making cross domain requests from a content script by putting Twitter trends on Google News.
调用:
源文件:

Tab Shortcuts

Allows pinning and duplication of tabs via keyboard shortcuts.
调用:
源文件:

One-click Kittens

This extension demonstrates a 'browser action' with kittens.
调用:
源文件: