Skip to content

Just a chrome extension example with interaction between the background/popup/badge

Notifications You must be signed in to change notification settings

fcarriedo/chrome-extension-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chrome Extension Example

Simple Chrome Extension Example that shows the simple interaction between background.html, badge and popup view.

Best implementation

Handle all the model in background.html

On update, if popup is visible, push the model to the popup view and use backbone.js, jQuery and jquery-templ for rendering the model.

Idea for storing credentials in a shitty secure way

State time to live in localStorage, encode the creds with that number and save them.

For retrieval, use the saved time to live number to decode the credentials and use them. If somebody modifies the time to live, the credentials won't be correctly decoded.

About

Just a chrome extension example with interaction between the background/popup/badge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages