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 extensionBuild a browser extension using modern JavaScript frameworksScript frameworks