AMO-Safe Skeleton Autor: New88
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.
Brak użytkownikówBrak użytkowników
Metadane rozszerzenia
O tym rozszerzeniu
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.
Ocenione na 0 przez 0 recenzentów
Więcej informacji
- Strony dodatku
- Wersja
- 1.0.0
- Rozmiar
- 16,55 KB
- Ostatnia aktualizacja
- 5 miesięcy temu (2 paź 2025)
- Powiązane kategorie
- Licencja
- Mozilla Public License 2.0
- Historia wersji
- Dodaj do kolekcji