Writing Browser Extensions for fun and profit
Upcoming SlideShare
Loading in...5
×
 

Writing Browser Extensions for fun and profit

on

  • 782 views

A HelsinkiJS talk given by Oleg from https://starthq.com

A HelsinkiJS talk given by Oleg from https://starthq.com

The video of this talk is available at http://youtu.be/J8KGguflMCc

Statistics

Views

Total Views
782
Views on SlideShare
771
Embed Views
11

Actions

Likes
0
Downloads
0
Comments
0

1 Embed 11

http://lanyrd.com 11

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Writing Browser Extensions for fun and profit Writing Browser Extensions for fun and profit Presentation Transcript

    • Browser Extensions for fun and/or profit writing
    • Browser extensions - why bother? ● Fact: users have short attention spans ● Extensions can be contextual ● Extensions can be unobtrusive ● Extra functionality ○ Add buttons to and extend browser chrome ○ Run tasks in the background ○ Modify pages you visit ○ Access browser history, storage
    • Anatomy of an Extension ● Background page ○ Can modify browser chrome ● Content scripts ● Extension page (in Chrome, optional) ● Use message passing to talk to each other
    • Extension APIs ● Chrome ○ Up to date, comprehensive, with examples ● Firefox ○ Multiple versions: native, Jetstrap, C++ - defaults to Mongolian, obvious things hard to do ● Opera ○ Docs non-existent, Opera.Next ● IE - BHO, COM, ATL
    • Dev Tools ● Chrome ○ DevTools, filesystem, local deployment ● Firefox ○ builder.addons.mozilla.org, cfx ● Opera ○ Drag config.xml into browser
    • Deployment ● Chrome ○ CRX, upload ZIP to Chrome Web Store ● Firefox ○ cfx, upload XPI to addons.mozilla.org ● Opera ○ upload ZIP to addons.opera.com
    • Review Process & Updates ● Chrome ○ No review process ○ Updates available to all users within a day automatically ● Firefox ○ Human reviews, takes ~10 days ○ Updates have to be done manually by users ● Opera ○ Human reviews, takes two weeks or more ○ Update mechanism unclear
    • Distribution ● Chrome ○ Dashboard shows stats + number of current installs, GA, ratings/reviews/keywords drive traffic ● Firefox ○ Dashboard shows stats + number of current installs, little traffic, locale defaults to Mongolian ● Opera ○ No stats, can’t search by name, indexed by Google
    • Examples ● Meetin.gs ○ content script injects Meet Me buttons ○ watches for DOM mutations ○ pulls data out of page with CSS selectors ● StartHQ ○ replaces new tab page ○ populates launcher based on browsing history ○ ...
    • Thank you! starthq.com