What is the easiest way to develop Firefox extension?

It’s 2013, isn’t there an easier way of building Firefox extensions? Yes there is! The links you provided in the question are unbelievably outdated. There is a new, much better way of developing Firefox extensions — Firefox Add-on SDK. However it’s pretty hard to stumble upon it by just googling along the lines of ‘firefox … Read more

How to identify who initiated the http request in Firefox?

As of June 2020, there is no official method/way of achieving http request requester filtering/identification. Currently the only possibility is what is done on the question’s code which is separating requests from web-pages/tabs and the other Firefox’s components (feed updates, extensions requests, XHR requests from XPCOM components, etc). As mentioned on the comments this is … Read more

How can I fix WebStorm warning “Unresolved function or method” for “require” (Firefox Add-on SDK)

Do you mean that require() is not resolved? You need to either add require.js to your project or enable Node.js Globals predefined library in Settings/Languages and Frameworks/JavaScript/Libraries. (Edited settings path by @yurik) In WebStorm 2016.x-2017.x: make sure that the Node.js Core library is enabled in Settings (Preferences) | Languages & Frameworks | Node.js and NPM … Read more