Since .withAllMenuCommandsForWindowId() gives us the items in reverse order (in case we remove them), add each item as we get it to the top instead. Fixes #1347
Specifically: youhavenoscripts, getuserscripts. Fixes #1338
This way it's listed in about:config for easy toggling, if you want to see logs.
Firefox can prevent us from setting the Referer header. Work around this by setting the header in an observer for the http request.
Saves a few KiB for the final XPI at no cost. Fixes #1187
(Unless _specifically_ requested.) Fixes #1298
…ange to the Addon objects, resort the list of scripts according to the currently selected sort criteria. Closes #1307
Also, make sure the sort bar we add shows up properly when it is visible. Fixes #1232