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
40:04 MIN
Introducing Demo Time for flawless live coding presentations
WeAreDevelopers LIVE - Demo Time, Live Coding, End-to-End Testing and more
1:26:14 MIN
Recap and resources for advanced extension development
Let's build a VS Code extension for automated refactorings
1:03:15 MIN
Using the Selenium IDE to record browser test scripts
Proactive monitoring and smoke testing in your production environment
17:41 MIN
Presenting live web scraping demos at a developer conference
Tech with Tim at WeAreDevelopers World Congress 2024
1:32:03 MIN
Q&A on extensions, testing, and development tools
Let's build a VS Code extension for automated refactorings
21:34 MIN
Adding context with browser and IDE extensions
How to Optimize Non-Coding Time
55:01 MIN
Use cases and the open source nature of Demo Time
WeAreDevelopers LIVE - Demo Time, Live Coding, End-to-End Testing and more
21:32 MIN
Understanding the security risks of malicious browser extensions
WeAreDevelopers Live: Browser Extensions, Honey Scam, Jailbreaking LLMs and more
Featured Partners
Related Videos
Catching up on the basics you don't really need that much code
Chris Heilmann
WeAreDevelopers LIVE - Demo Time, Live Coding, End-to-End Testing and more
Chris Heilmann, Daniel Cranney & Elio Struyf
WeAreDevelopers Live: Browser Extensions, Honey Scam, Jailbreaking LLMs and more
Chris Heilmann & Daniel Cranney
WeAreDevelopers LIVE - Chrome for Sale? Comet - the upcoming perplexity browser Stealing and leaking
Chris Heilmann & Daniel Cranney & Ramona Schwering
The Eventloop in JavaScript - How does it work?
Christian Woerz
aa
aa
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
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.
