summaryrefslogtreecommitdiff
path: root/doc/note/firefox/firefox.txt
blob: 9c48e29402dcf1fec6c298e899547310f824a708 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

Firefox
================


## Install plugin quickNdirty until restart

- Visit "about:debugging"
- Click "This Firefox"
- Click "Load Temporary Add-on..."
- Select either "manifest.json" or XPI file.

For refresh, there is a button on the same page to reload the plugin.



## Create an XPI file (eg for distribution)

"manifest.json" MUST be in top level dir inside ZIP.

  zip my.xpi manifest.json main.js



## Distribute via self-hosting

Package MUST be signed by "addons.mozilla.org" (Except for ESR or dev
firefox builds)

XPI file can be drag-n-drop to FF to trigger install dialog. Or via gear
icon "install from file".



## Install native manifest (linux)

"~/.mozilla/native-messaging-hosts/<name>.json"