Hi, I am Trishul
Cross Browser Extensions
Scotland JS
@trishulgoel
WHAT
@trishulgoel
One size fits All
@trishulgoel
@trishulgoel
WHY?
@trishulgoel
bcoz JAVASCRIPT
@trishulgoel
What can an extension do?
@trishulgoel
- Take Notes!
- Create Alarms!
- Block Ads!
- ColorPicker!
- Debug your website!
- Autocorrect!
- ++++++++
@trishulgoel
Anything you want!!!
@trishulgoel
HOW?
@trishulgoel
Structure of an extension
Manifest.json
Content Scripts
Background Scripts
Page action
Browser action
Options page
Web accessible resources
@trishulgoel
@trishulgoel
Content Scripts
javascript that executes once the page load is complete
@trishulgoel
Background Scripts
Javascript that executes in background :P
@trishulgoel
Page Action
Browser Action
@trishulgoel
Options Page
A HTML page which helps to set extension's preferences
@trishulgoel
Webextension APIs
@trishulgoel
Tabs API
@trishulgoel
Notifications API
@trishulgoel
Notifications API
@trishulgoel
BrowserAction API
@trishulgoel
BrowserAction API
@trishulgoel
webRequest API
@trishulgoel
Lets get started
@trishulgoel
LINK PAINTER
@trishulgoel
@trishulgoel
@trishulgoel
WORD COUNTER
@trishulgoel
@trishulgoel
@trishulgoel
SECURITY
@trishulgoel
@trishulgoel
DEBUGGING
@trishulgoel
about:debugging
Load temporary addon
Select manifest.json
@trishulgoel
chrome://extensions
Load Unpacked
Select extension Folder
@trishulgoel
TOOLS
@trishulgoel
WEB-EXT
A command line tool designed to speed up extension development process
@trishulgoel
webextensions.tech
@trishulgoel
http://bit.ly/publishAddon
@trishulgoel
Resources
- http://bit.ly/webextensions
- http://bit.ly/webexttutorials
- http://bit.ly/web-ext
- http://bit.ly/publishAddon
@trishulgoel
@trishulgoel
Cross browser extensions - ScotlandJS
By Trishul Goel
Cross browser extensions - ScotlandJS
Cross browser extensions - lets create one | Scotland JS
- 1,102