Wednesday, February 18, 2015

Basics

Extension -> ID = hash(public key)

public key  private key


Extensions are packaged as :
CRX file :

public key signature (private key on z) zip file of extension Z

Extension UI

Browser Action (buttons next to the omnibox)
   supports popups, badges

Page Action ( in omnibox)
   supports only popups

Content Scripts: uses content of the page itself


Google Chrome
offers APIs that only extensions code can access (available under chrome object, which has several modules)
Multi process architecture
   Web pages in java script run in separate processes which are separate from the main browser process

Runs extension in sub-processes




No comments:

Post a Comment