List all the installed firefox addons from the bash script

Here is a one-line that would help you get the Firefox addons in the bash script:

grep -hIr \\<em:name ~/.mozilla/firefox/*.default/extensions|sed \’s#\\s*##\’|sed \’s#.*\\(>.*<\\).*#\\1#\’|sed \’s/[<\\|>]//g\’|sort -u

\"Reblog