SlideShare a Scribd company logo
Introduction of chrome
extension development
balduran@
Agenda
What’s chrome extension
Types of chrome extension
development/testing
Deploying
Q&A
Chrome Extension
Small downloaded plugin that allow you adding new functionality to the chrome
browser
Types of extension
Browser action
Page action
Context menu
Background script
Content script
Dev tools
UI
Browser action for most pages
UI
Page action, active or inactive depending on the page
Context menu
Context menu items can appear in any document
Context Menu
Data flow between UI and background
Architecture
Background task
A single long-running script to manage some task or state
Only one instance is active per extension
Background page or event page??
Persistent: true // it’s background page
Persistent: false // it’s event page
Content script
Run in the context of web pages
Can read details of the web pages the browser visits, or make changes to them
Multiple instance(1 per tab) per extension
Cannot call some chrome.* API
Cannot access variables/functions defined by web pages
Dev tool
Option + command + I
Development/testing
1. Create project
2. Write codes
3. Load extension
4. test/debug feature
5. Upload to chrome web store
Development/testing
Project structure
Manifest file (manifest.json)
Generator http://extensionizr.com
Background script/content script
Resource files (UI implementation)
i18n
Manifest.json
Version
Name
Permissions
Browser_action
Content_scripts
Background
icons
Permission
Host permission
Match Patterns
Schema
http
file
Permission and chrome.* API
API document
https://developer.chrome.com/extensions/api_index
Some API need extra permission
Chrome.management need management permission
chrome.* API
Three groups
User interface
Browser action, page action
Control browser
Windows, tabs, bookmakrs, history, cookies
Communicate with server
Content script, XHR
Chrome.runtime API
retrieve the background page, return details about
the manifest, and listen for and respond to events in
the app or extension lifecycle
Chrome.activeTab API
interact with the browser's tab system
executeScript
Injects JavaScript code into a page
insertCSS
Injects CSS into a page
Resource files
Two main resource files
Icon.png
popup.html
Load expension
chrome://extensions/
Debugging
Deploy
signup fee: 5 USD
Upload extension
provisioning
Chrome web store dashboard
https://chrome.google.com/webstore/developer/dashboard
Appendix
https://developer.chrome.com/webstore/using_webstore_api
Provisioning by API

More Related Content

PPTX
Google chrome extension
PDF
Google Chrome Extensions - DevFest09
PDF
Introduction to Google Chrome Extensions Development
PDF
Chrome extension development
PPTX
Chrome extensions
PPTX
Maven
PDF
Análise estática de código Python
PPTX
Google Chrome DevTools features overview
Google chrome extension
Google Chrome Extensions - DevFest09
Introduction to Google Chrome Extensions Development
Chrome extension development
Chrome extensions
Maven
Análise estática de código Python
Google Chrome DevTools features overview

What's hot (20)

PDF
Browser_Stack_Intro
PDF
Android Developer JeongJaeyun
PDF
Cypress-vs-Playwright: Let the Code Speak
PDF
Git & GitHub for Beginners
PDF
Hibernate 3
PDF
테스트자동화 성공전략
PDF
모바일 게임 테스트 자동화 (Appium 확장)
PPTX
Develop Chrome Extension
PDF
Cross browser testing using BrowserStack
PPTX
Introduction to Selenium Web Driver
PPTX
Browser Automation with Playwright – for integration, RPA, UI testing and mor...
PPTX
PDF
Automation Testing using Selenium
PDF
Web automation using selenium.ppt
PPTX
[Final] ReactJS presentation
PDF
Mobile Browser Internal (Blink Rendering Engine)
PPT
Selenium
PDF
Introduction to React Native
PPTX
JavaScript Event Loop
Browser_Stack_Intro
Android Developer JeongJaeyun
Cypress-vs-Playwright: Let the Code Speak
Git & GitHub for Beginners
Hibernate 3
테스트자동화 성공전략
모바일 게임 테스트 자동화 (Appium 확장)
Develop Chrome Extension
Cross browser testing using BrowserStack
Introduction to Selenium Web Driver
Browser Automation with Playwright – for integration, RPA, UI testing and mor...
Automation Testing using Selenium
Web automation using selenium.ppt
[Final] ReactJS presentation
Mobile Browser Internal (Blink Rendering Engine)
Selenium
Introduction to React Native
JavaScript Event Loop
Ad

Similar to Introduction of chrome extension development (20)

PPTX
An overview on Developing Chrome Extensions
PPT
Stepin evening presented
PPTX
Chrome Apps & Extensions
PPT
Chrome Extension Develop Starts
DOCX
Selenium Testing Training in Bangalore
PPT
Selenium
PPTX
Qa process
PDF
Using HttpWatch Plug-in with Selenium Automation in Java
PDF
Chrome Extensions - Basic concepts powerpoint
PPTX
Qa process
PPTX
Mastering Test Automation: How To Use Selenium Successfully
PPT
Rutgers - FrontPage 98 (Advanced)
PDF
automation framework
PPTX
Client side scripting using Javascript
PPT
Integrate Shindig with Joomla
PPTX
Web UI Tests: Introduce UI tests using Selenium
PPT
Buzzword, How'd They Build That?
PPT
Building Buzzword (Flex Camp Boston 2007)
PPT
ASP.NET OVERVIEW
PPTX
Build your own Chrome Extension with AngularJS
An overview on Developing Chrome Extensions
Stepin evening presented
Chrome Apps & Extensions
Chrome Extension Develop Starts
Selenium Testing Training in Bangalore
Selenium
Qa process
Using HttpWatch Plug-in with Selenium Automation in Java
Chrome Extensions - Basic concepts powerpoint
Qa process
Mastering Test Automation: How To Use Selenium Successfully
Rutgers - FrontPage 98 (Advanced)
automation framework
Client side scripting using Javascript
Integrate Shindig with Joomla
Web UI Tests: Introduce UI tests using Selenium
Buzzword, How'd They Build That?
Building Buzzword (Flex Camp Boston 2007)
ASP.NET OVERVIEW
Build your own Chrome Extension with AngularJS
Ad

Recently uploaded (20)

PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Introduction to Artificial Intelligence
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PPTX
Odoo POS Development Services by CandidRoot Solutions
PPTX
history of c programming in notes for students .pptx
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
top salesforce developer skills in 2025.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
System and Network Administration Chapter 2
Odoo Companies in India – Driving Business Transformation.pdf
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
How to Choose the Right IT Partner for Your Business in Malaysia
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Introduction to Artificial Intelligence
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Which alternative to Crystal Reports is best for small or large businesses.pdf
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
ManageIQ - Sprint 268 Review - Slide Deck
Odoo POS Development Services by CandidRoot Solutions
history of c programming in notes for students .pptx
2025 Textile ERP Trends: SAP, Odoo & Oracle
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Design an Analysis of Algorithms I-SECS-1021-03
top salesforce developer skills in 2025.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
System and Network Administration Chapter 2

Introduction of chrome extension development