Buy New
-41%
$38.42$38.42
FREE delivery Saturday, April 25
Ships from: Amazon Sold by: Apex_media
Used - Very Good
$9.89$9.89
FREE delivery Sunday, April 26 on orders shipped by Amazon over $35
Ships from: Amazon Sold by: 5 Star Resellers
Return this item for free
We offer easy, convenient returns with at least one free return option: no shipping charges. All returns must comply with our returns policy.
Learn more about free returns.- Go to your orders and start the return
- Select your preferred free shipping option
- Drop off and leave!
Sorry, there was a problem.
There was an error retrieving your Wish Lists. Please try again.Sorry, there was a problem.
List unavailable.
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Building Browser Extensions: Create Modern Extensions for Chrome, Safari, Firefox, and Edge 1st ed. Edition
Purchase options and add-ons
Get the book's companion extension at buildingbrowserextensions.com
About the Book
Web developers today have plenty of experience with building regular web page apps, but a lot of that knowledge doesn't transfer over when it comes to creating browser extensions. This book provides a complete reference for how to build modern browser extensions.
Creating and deploying a browser extension is more like building a mobile app than a website. When you start building an extension you'll often find there are a large number of new concepts and idiosyncrasies to wrangle with. This book reveals how to successfully navigate around these obstacles and how to take advantage of the limited resources available.
You'll see how a browser extensions work, their component pieces, and how to build and deploy them. Additionally, you'll review all the tricky bits of extension development that most developers have to learn through trial and error. The current transition from manifest v2 to v3 is of special interest, and an entire chapter will be dedicated to this subject. By the end of this book, you will have a rich understanding of what browser extensions are, how they work, all the pitfalls to avoid, and the most efficient ways of building them.
You will:
- Understand the best ways to build and deploy a modern browser extension
- Learn wow to build a browser extension using modern web development tools
- Fast-track your understanding of browser extensions
- Build browser extensions using modern tooling and frameworks like Webpack and React
- Understand the implications of the transition from manifest v2 to v3
- Complete reference of browser extension APIs and features
- Learn to build cross-browser extensions for Chrome, Firefox, Safari, and Edge
Who This Book Is For
This book is for web developers who want to learn how to develop and deploy a modern browser extension. Developers familiar with modern JavaScript frameworks will be able to directly apply their knowledge to building a browser extension with frameworks like React or Vue. This book is also for individuals who wish to quickly roll out a browser extension prototype or side project; it covers a broad range of tools and platforms that can manage all the boilerplate and underlying APIs automatically.
Table of Contents
- What Are Browser Extensions?
- Fundamental Elements of Browser Extensions
- Browser Extension Crash Course
- Browser Extension Architecture
- The Extension Manifest
- Understanding the Implications of Manifest v3
- Background Scripts
- Popup and Options Pages
- Content Scripts
- Devtools Pages
- Extension and Browser APIs
- Permissions
- Networking
- Extension Development and Deployment
- Cross-Browser Extensions
- Tooling and Frameworks
- ISBN-10148428724X
- ISBN-13978-1484287248
- Edition1st ed.
- PublisherApress
- Publication dateNovember 23, 2022
- LanguageEnglish
- Dimensions6.1 x 1.29 x 9.25 inches
- Print length572 pages
There is a newer edition of this item:
Customers who viewed this item also viewed
Customers also bought or read
- Professional JavaScript for Web Developers (Tech Today)
Paperback$53.66$53.66FREE delivery Tue, Apr 28 - Angular 2 Cookbook: Discover over 70 recipes that provide the solutions you need to know to face every challenge in Angular 2 head on
Paperback$54.99$54.99FREE delivery Sat, Apr 25 - Building Browser Extensions: Create Modern Extensions for Chrome, Safari, Firefox, and Edge
Paperback$39.29$39.29$3.99 delivery May 4 - 7
Editorial Reviews
Review
-James Tamplin, CEO and Co-Founder of Firebase
From the Author
- On average, 40% of internet users in the United States use an adblocker on any device; overwhelmingly, these adblockers take the form of browser extensions.
- The tech company Honey, whose primary product is a browser extension, was acquired by PayPal in 2020 for $4 billion.
- As of 2021, there were 1.8 million apps in Apple's App Store; the Chrome Web Store has 180,000 extensions.
When I saw there were 0 relevant Amazon search results for "build chrome extension", I nearly fell out of my chair. I knew at once that this book must be written.
Building Browser Extensions: Create Modern Extensions for Chrome, Safari, Firefox, and Edge covers all the knowledge you will need to write cross-browser extensions with the latest web development tools. Browser extensions are given access to extremely powerful APIs. I believe most developers are blind to that power -and unaware of just how much it is within their reach.
This book is designed to enlighten web developers and illuminate the true potential of the browser extension software platform. It is geared for developers who have experience building websites and can apply their knowledge to a new software domain. This book is not ideal for people new to programming - it would be like an inexperienced cook starting off by learning to make a sauce.
A major barrier to developing browser extensions is the appalling status quo of documentation. The fragmentation between different browsers and different manifest versions turns slogging through the documentation into a mind-numbingly onerous affair. I wrote this book specifically to address this problem. The reader will learn what is possible with the APIs, how they can best be applied, and all the traps to avoid. The book is not intended to replace the API documentation, as it is changing all the time. Instead, it is intended to supplement the API documentation; the book has plenty of direct links to the Chrome Developers and MDN sites throughout.
The transition to manifest v3 is upon us, and already it is causing problems. If you are confused about what manifest v3 is, what are its implications, and how best to navigate the ongoing transition, this book is for you. I dedicated an entire chapter to the manifest v2/v3 transition.
The lingua franca of web development is React, and this book gives special attention to the best ways in which you can write a browser extension in React. It also covers all the supplemental tools you'll need along the way, such as Webpack, Parcel, and Plasmo.
Like many developers, I learn by example. I was annoyed that so many APIs listed in the documentation were totally inscrutable. For example, the omnibox API is amazing and incredibly useful, but the documentation on how to use it is garbage. I just wanted a simple example to pick apart and play with, and there was nothing to be found. To fill this need, I created a companion extension for the book: Browser Extension Explorer. It's an open source browser extension with dozens of interactive demos. Each demo shows how various browser extension pieces and APIs work, and each includes links to the specific source files so you can see how it was built.
From the Back Cover
Web developers today have plenty of experience with building regular web page apps, but a lot of that knowledge doesn't transfer over when it comes to creating browser extensions. This book provides a complete reference for how to build modern browser extensions.
Creating and deploying a browser extension is more like building a mobile app than a website. When you start building an extension, you'll often find there are a large number of new concepts and idiosyncrasies to wrangle with. This book reveals how to successfully navigate around these obstacles and how to take advantage of the limited resources available.
You'll see how a browser extensions work, their component pieces, and how to build and deploy them. Additionally, you'll review all the tricky bits of extension development that most developers have to learn through trial and error. The current transition from manifest v2 to v3 is of special interest, and an entire chapter is dedicated to this subject.
By the end of this book, you will have a rich understanding of what browser extensions are, how they work, all the pitfalls to avoid, and the most efficient ways of building them.
You will:
- Examine the different components of browser extensions and how they behave
- How to use all the latest extension APIs and features
- Review common pitfalls developers encounter when building browser extensions and how to avoid them
- Develop, deploy, and manage a published browser extension
- Build a browser extension using modern JavaScript frameworksScript frameworks
About the Author
Product details
- Publisher : Apress
- Publication date : November 23, 2022
- Edition : 1st ed.
- Language : English
- Print length : 572 pages
- ISBN-10 : 148428724X
- ISBN-13 : 978-1484287248
- Item Weight : 1.75 pounds
- Dimensions : 6.1 x 1.29 x 9.25 inches
- Best Sellers Rank: #2,305,842 in Books (See Top 100 in Books)
- #9 in DHTML Programming Computer
- #16 in Website Analytics
- #11,463 in Computer Science (Books)
- Customer Reviews:
About the author

Matt Frisbie has worked in web development for over a decade. He has worked as a CTO at a supply chain startup, at a Big Four tech company, and at a Y Combinator startup that would become a billion-dollar company.
As a Google software engineer, Matt worked on both the AdSense and Accelerated Mobile Pages (AMP) platforms; his code contributions run on most of the planet's web browsing devices. Prior to this, Matt was the first engineer at DoorDash, where he helped lay the foundation for a company that has become the leader in online food delivery.
Matt has written three books, "Professional JavaScript for Web Developers", "Angular 2 Cookbook", and "AngularJS Web Application Development Cookbook", and recorded two video series, "Introduction to Modern Client-Side Programming" and "Learning AngularJS". He speaks at frontend meetups and webcasts, and is a level 1 sommelier. He majored in Computer Engineering at the University of Illinois Urbana-Champaign.
Matt's Twitter handle is @mattfriz.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on February 1, 2025Format: PaperbackThere literally is no other book out there that I could find on the subject, and if there is one, I don't see how it could be better than this one.
- Reviewed in the United States on December 12, 2022Format: PaperbackWhile listed as an intermediate level resource, I must say that as a fledgling developer this book comes down to my level and gets me deep in technical aspects of browser extensions. As with many of other Matt Frisbie's books, this one styles itself as informative and robust but never strays away from the no-nonsense approach to developing applications.
Heck, early on it opens itself in a crash course take on browser extensions then diving into the nitty gritty of troubleshooting the back and front end. There's plenty of use cases highlighted and a lot of industry level best practices offered. I especially enjoyed the highlighting of common gotchas and how to mitigate them.
Overall, there's some resources online and sure you can ctrl+f the information, but Building Browser Extension is a one stop shop that I don't have to scour out of date Stackoverflow posts for the right answers.
- Reviewed in the United States on December 5, 2022Format: PaperbackThis is the long-missing book on an important topic that historically has had surprisingly (and frustratingly) meager online documentation scattered around various forums, blog posts, and StackOverflow posts. The author has pulled together a thoughtful, technical book that is both an intuitive guide to getting started building extensions from a traditional web development background, as well as a handy reference for all the various manifest properties and permissions that make web extension programming particularly painful. The companion code samples on Github are easily cloneable and readable. Top marks for including walkthroughs on common use-cases like OAuth.
If you are doing anything with web extensions this book is basically a must-have.
- Reviewed in the United States on December 5, 2022Format: PaperbackABSOLUTELY worth the buy. It's an exceptional reference to build out browser extensions with modern frameworks. This one references modern technology such as react/vue, and is current. I'm so tired of seeing out of date guides, which is what sets this one apart from the others. I'll be using this as a permanent goto reference in the future. Every dev should have this in their back pocket. So lucky to have found this.
- Reviewed in the United States on December 12, 2022Format: PaperbackI've authored several Chrome extensions over my career and this book does a fantastic job explaining some of the nuances with other browsers. Recently, iOS has gained the ability to run extensions and this book does a fantastic job at walking you through building one step by step.
Highly recommend!
- Reviewed in the United States on December 11, 2022Format: PaperbackThis book is thoughtfully organized in such a way that it's a helpful step-by-step guide for building an deploying an extension as well as a convenient reference for the extension API and permissions. I found the chapter explaining the differences between manifest v2 and v3 especially enlightening.
- Reviewed in the United States on December 7, 2022Format: PaperbackThorough and informative, with lots of code examples and visuals throughout. The book walks you through how to build modern web extensions in a practical, results-focused way. Easy to read, well organized, no-nonsense and to the point. Thanks Mr. Frisbie!
- Reviewed in the United States on March 30, 2023Format: PaperbackVerified PurchaseThe book is easy to follow and very helpful for learning how browser extensions work. Unfortunately the changes that come with Manifest V3 severely limit the usefulness of browser extensions, at least for the purposes I was hoping to use them for. A book like this would have been more useful a few years ago when browser extensions were allowed to be more powerful.
Top reviews from other countries
-
yomismoReviewed in Spain on July 23, 20235.0 out of 5 stars Bastante bueno
Format: KindleVerified PurchaseMe gusta la claridad en la autor a la hora de transmitir las ideas con ejemplos sencillos y referenciando a la nube hacia los sitios donde puedes ampliar información acerca de los componentes de software. Yo lo he adquirido para poder hacer una extensión y me ha ayudado a terminarla en un plazo de tiempo increíble.




