Книги и журналы » Компьютерная литература » Программирование (книги)
Building Browser ExtensionsГод издания: 2023
Автор: Frisbie M.
Издательство: Apress
ISBN: 978-1-4842-8725-5
Язык: Английский
Формат: PDF/ePub
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 561
Описание: Almost all 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.
What You’ll Learn:
- Examine the different components of browser extensions and how they behave
- 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 frameworks
[spoiler="Примеры страниц"]

[/spoiler]
[spoiler="Оглавление"]
About the Author xxiii
About the Technical Reviewer xxv
Acknowledgments xxvii
Foreword xxix
Introduction xxxi
Chapter 1: What Are Browser Extensions? 1
Chapter 2: Fundamental Elements of Browser Extensions 17
Chapter 3: Browser Extension Crash Course 43
Chapter 4: Browser Extension Architecture 75
Chapter 5: The Extension Manifest 97
Chapter 6: Understanding the Implications of Manifest V3 167
Chapter 7: Background Scripts 187
Chapter 8: Popup and Options Pages 225
Chapter 9: Content Scripts 245
Chapter 10: Devtools Pages 269
Chapter 11: Extension and Browser APIs 301
Chapter 12: Permissions 345
Chapter 13: Networking 385
Chapter 14: Extension Development and Deployment 429
Chapter 15: Cross-Browser Extensions 459
Chapter 16: Tooling and Frameworks 509
Index 533
[/spoiler]