What are extensions?

Definition:

"Extensions are small software programs that customize the browsing experience."

More detail:

"Google Chrome Extensions are applications that run inside the Chrome browser and provide additional functionality, integration with third party websites or services, and customized browsing experiences."

File type:

"Extension files are zipped into a single .crx package that the user downloads and installs."

Have a "single globally unique identified" ID

CRX file

Made with:

Manifest.json

Built on web technologies such as HTML, JavaScript, and CSS

Assets like: audio, image ...

Manifest.json

Every extension has a JSON-formatted manifest file, named manifest.json, that provides important information.

HTML/CSS/JS

HTML is used as a content markup language, CSS is used for styling, and JavaScript for scripting

Chrome supports HTML5 and CSS3, developers can use the latest open web technologies such as canvas and CSS animations in their extensions

Capabilities:

Make cross-domain Ajax requests

Use 3rd party web services

Save data locally

Create UI outside of the rendered web page

Listen event on Chrome: click, switch tabs ...

...

Customize extension user interface

  • Browser Action

  • Context Menu

  • Override Pages

  • Commands

  • Omnibox

  • Page actions

Browser Actions

Add an icon, tooltip, badge, and popup to the toolbar.

Context Menus

Add items to Google Chrome's context menu.

Override Page

Create a version of the New Tab, Bookmark, or History page.

Utilities

Modify and observe the Chrome Browser

Thank you!

what are extensions?

By nghiatv

what are extensions?

  • 53