feat: scaffold Firefox extension skeleton with manifest validation tests
Manifest V3 (Firefox keys: background.scripts, host_permissions), a background event page that opens a standalone list page on toolbar click, and the placeholder list page (HTML/CSS/JS vanilla). No build step. extension.test.ts validates manifest shape and referenced files. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
328df2d181
commit
0b1c022247
@@ -0,0 +1,5 @@
|
||||
// Listener enregistré au niveau racine (synchrone) : l'event page peut être
|
||||
// déchargée, le clic toolbar doit toujours la réveiller et être capté.
|
||||
browser.action.onClicked.addListener(() => {
|
||||
browser.tabs.create({ url: browser.runtime.getURL("liste.html") });
|
||||
});
|
||||
Reference in New Issue
Block a user