How do I create native looking popups in a web extension for Firefox?
问题 I want a native looking popup (menu) in a Firefox web extension. Example: What I have now Irrelevant parts omitted manifest.json: "browser_action": { "browser_style": true, // injects chrome://browser/content/extension.css "default_popup": "popup.html" } popup.html: <div class="panel"> <div class="panel-list"> <div class="panel-list-item"> Item 1 </div> <div class="panel-list-item"> Item 2 </div> <div class="panel-list-item-separator"></div> <div class="panel-list-item"> Item 3 </div> </div>