
AMO-Safe Skeleton di Nathaniel Diego
A minimal Firefox add-on skeleton that demonstrates AMO-compliant development: no inline scripts, no remote code, minimal permissions, a popup UI, an options page, and safe content-script injection on user gesture.
Nessun utenteNessun utente
Metadati estensione
Informazioni sull’estensione
AMO-Safe is a small, AMO-friendly extension skeleton. AMO-Safe demonstrates best practices required by Mozilla's add-on policies: it requests only the storage and activeTab permissions, keeps all JavaScript in external files (no inline scripts), avoids unsafe DOM APIs such as innerHTML, and never loads or executes remote code. The popup provides a safe action to copy the current page's title to the clipboard and to inject a compact content script on user gesture for highlighting the currently selected element. The options page stores a user-configurable highlight color in browser.storage.
Voto 0 da 0 revisori
Ulteriori informazioni
- Link componente aggiuntivo
- Versione
- 1.0.0
- Dimensione
- 16,55 kB
- Ultimo aggiornamento
- 5 giorni fa (2 ott 2025)
- Categorie correlate
- Licenza
- Mozilla Public License 2.0
- Cronologia versioni
- Aggiungi alla raccolta