AMO-Safe Skeleton wót JBO
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.
1 wužywaŕ1 wužywaŕ
Metadaty rozšyrjenja
Wó toś tom rozšyrjenju
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.
Z 0 wót 0 pógódnośujucych pógódnośony
Dalšne informacije
- Dodankowe wótzkaze
- Wersija
- 1.0.0
- Wjelikosć
- 16,55 KB
- Slědny raz zaktualizěrowany
- 7 months ago (Oct 2, 2025)
- Pśiswójźbne kategorije
- Wersijowa historija
- Zběrce pśidaś