Why it is useful
When installing an extension that is more unknown, you can check the source code to see if it is safe to use.
How to do it
- Go to the extension page on the Firefox Add-ons website.
- Right-click on the “Add to Firefox” button and select “Copy Link”.
$ curl -L <link> > /tmp/extension.xpi
$ unzip /tmp/extension.xpi -d /tmp/extension/
Now you can check the source code in the /tmp/extension/
directory.