Most "design inspector" extensions ask for a permission set that makes no sense for what they do: <all_urls> , background network access, sometimes even tabs with full history read. I wanted the opposite constraint for SpecPeek : a CSS, Tailwind, and SVG inspector that runs on exactly the tab you click, ships zero third-party JS, and never has a reason to see a URL you didn't explicitly show it. This post is about the engineering decisions that came out of holding that line β manifest permissions, Shadow DOM isolation, and writing a Tailwind class converter and a ZIP exporter from scratch instead of pulling in dependencies.
Why activeTab instead of <all_urls>
The default instinct for a page-inspection tool is to request host permissions for everything, because then your content script is always available and you never have to think about injection timing.β¦