Keren Kenzi
Extensionator - Rise of the Chromium
#1about 1 minute
Understanding the core components of a Chrome extension
Chrome extensions are built from several key parts including background scripts, content scripts, UI elements, and options pages.
#2about 3 minutes
Creating the basic manifest file for an extension
Start a new Chrome extension project by creating a folder and a `manifest.json` file with the three mandatory fields: name, version, and manifest_version.
#3about 2 minutes
Adding icons and a description to the manifest
Enhance the extension's presentation by adding an `icons` object and a `description` field to the `manifest.json` file.
#4about 5 minutes
Using a background script to intercept and redirect requests
Implement a `background.js` script that uses the `chrome.webRequest.onBeforeRequest` API to intercept navigation to specific URLs and redirect the user.
#5about 3 minutes
Requesting permissions and debugging the extension
Fix errors by adding a `permissions` array to the manifest for APIs like `webRequest` and `webRequestBlocking`, and use the extension management page for debugging.
#6about 9 minutes
Building a popup interface with browser action
Create a user interface that appears when the extension icon is clicked by defining a `browser_action` in the manifest and linking it to a popup HTML file.
#7about 3 minutes
Adding interactivity to the popup with JavaScript
Use a `popup.js` script to add event listeners to buttons, allowing users to create and cancel alarms with the `chrome.alarms` API.
#8about 8 minutes
Triggering desktop notifications from a background script
The background script listens for events using `chrome.alarms.onAlarm` and then creates a persistent desktop alert with `chrome.notifications.create`.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
06:23 MIN
Introducing Demo Time for flawless live coding presentations
WeAreDevelopers LIVE - Demo Time, Live Coding, End-to-End Testing and more
05:49 MIN
Recap and resources for advanced extension development
Let's build a VS Code extension for automated refactorings
13:57 MIN
Using the Selenium IDE to record browser test scripts
Proactive monitoring and smoke testing in your production environment
01:57 MIN
Presenting live web scraping demos at a developer conference
Tech with Tim at WeAreDevelopers World Congress 2024
08:05 MIN
Q&A on extensions, testing, and development tools
Let's build a VS Code extension for automated refactorings
03:43 MIN
Adding context with browser and IDE extensions
How to Optimize Non-Coding Time
07:26 MIN
Use cases and the open source nature of Demo Time
WeAreDevelopers LIVE - Demo Time, Live Coding, End-to-End Testing and more
06:52 MIN
Understanding the security risks of malicious browser extensions
WeAreDevelopers Live: Browser Extensions, Honey Scam, Jailbreaking LLMs and more
Featured Partners
Related Videos
WeAreDevelopers Live: Browser Extensions, Honey Scam, Jailbreaking LLMs and more
Chris Heilmann & Daniel Cranney
WeAreDevelopers LIVE - Demo Time, Live Coding, End-to-End Testing and more
Chris Heilmann, Daniel Cranney & Elio Struyf
WeAreDevelopers LIVE - Chrome for Sale? Comet - the upcoming perplexity browser Stealing and leaking
Chris Heilmann & Daniel Cranney & Ramona Schwering
Catching up on the basics you don't really need that much code
Chris Heilmann
Vulnerable VS Code extensions are now at your front door
Raul Onitza-Klugman & Kirill Efimov
Let's build a VS Code extension for automated refactorings
Nicolas Carlo
Explore new web features before everyone else
Nikita Dubko
What's new in CSS for Designers?
Onur Gumus
Related Articles
View all articles
.png?w=240&auto=compress,format)

.png?w=240&auto=compress,format)
From learning to earning
Jobs that call for the skills explored in this talk.

Speech Processing Solutions
Vienna, Austria
Intermediate
CSS
HTML
JavaScript
TypeScript

infomax websolutions GmbH
Grassau, Germany
Intermediate
Senior
CSS
HTML
JavaScript
TypeScript


JO Media Software Solutions GmBh
Brunn am Gebirge, Austria
Senior
CSS
Angular
JavaScript
TypeScript

doinstruct Software GmbH
Berlin, Germany
Senior
GIT
JavaScript
TypeScript

Lotum media GmbH
Bad Nauheim, Germany
Senior
Node.js
JavaScript
TypeScript


Lotum media GmbH
Bad Nauheim, Germany
Senior
Vue.js
Node.js
JavaScript
TypeScript

indurad GmbH
Aachen, Germany
Intermediate
Senior
HTML
React
Node.js
TypeScript