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:
Pierre Martin
2026-06-29 23:40:48 +02:00
co-authored by Claude Opus 4.8
parent 328df2d181
commit 0b1c022247
7 changed files with 132 additions and 0 deletions
+5
View File
@@ -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") });
});