The Architecture of Chrome Extension Permissions

Efficient NLP · Beginner ·📰 AI News & Updates ·1y ago
Try Voice Writer - speak your thoughts and let AI handle the grammar: https://voicewriter.io Voice Writer for Chrome: https://chromewebstore.google.com/detail/voice-writer/bmnkehnhllihccfbhinbjpolponlnfbl In this video, we learn about the architecture of Chrome extension permissions: from content scripts, popup pages, and service workers, I’ll explain how different components interact using message passing and why Chrome extensions require such strict security measures. We also go into Manifest V3, content security policies (CSP), and restrictions on using eval in extensions, and the threat model of why it was designed this way. Blog post version of this video: https://voicewriter.io/blog/the-architecture-of-chrome-extension-permissions-a-deep-dive 0:00 - Intro 1:24 - Manifest V2 and V3 1:43 - Manifest.json permissions 3:03 - Content scripts 4:59 - Background service workers 5:39 - Popup pages 7:00 - Example extension architecture 8:00 - Content security policies (CSP) 9:10 - Restrictions on eval and sandbox pages 10:47 - Security of this architecture 12:30 - Conclusion
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

Big Tech firms are accelerating AI investments and integration, while regulators and companies focus on safety and responsible adoption.
Big Tech firms are investing billions in AI, driving growth and transformation, while prioritizing safety and responsible adoption
Dev.to AI
AI Fatigue: Why Nobody Wants to Learn AI (And Why That’s Okay)
Understanding AI fatigue and its implications on professionals' willingness to learn AI, and why it's okay to acknowledge these feelings
Medium · Programming
YouTube expands its AI likeness detection technology to celebrities
YouTube's AI likeness detection tool now helps celebrities find and remove deepfakes, protecting their online presence
TechCrunch AI
Amazon Invests $25B in Anthropic
Amazon invests $25B in Anthropic, valuing the AI startup at over $100B, in a move that highlights the growing AI infrastructure arms race
Dev.to AI

Chapters (11)

Intro
1:24 Manifest V2 and V3
1:43 Manifest.json permissions
3:03 Content scripts
4:59 Background service workers
5:39 Popup pages
7:00 Example extension architecture
8:00 Content security policies (CSP)
9:10 Restrictions on eval and sandbox pages
10:47 Security of this architecture
12:30 Conclusion
Up next
Are tech jobs safe in 2026?
Lenny's Podcast
Watch →