How to edit or remove cookies in Firefox DevTools?

To edit cookies in the Firefox DevTools you have to ensure the Storage Inspector is enabled via the settings. Within the Storage Inspector you’ll then be able to edit existing cookies by double-clicking the values within the list: You can also remove cookies by right-clicking them and choosing one of the options from the context … Read more

Output jasmine test results to the console

Have you tried the ConsoleReporter? jasmine.getEnv().addReporter(new jasmine.ConsoleReporter(console.log)); According to the code Jasmine has the ConsoleReporter class that executes a print function (in this case console.log) that should do what you need. If all else fails you could just use this as a starting point to implement your own console.log reporter. UPDATE In newer versions of … Read more

Redirecting Request (nsiHttpChannel?) in Firefox Extensions

We can do this by overriding the nsiHttpChannel with a new one, doing this is slightly complicated but luckily the add-on https-everywhere implements this to force a https connection. https-everywhere‘s source code is available here Most of the code needed for this is in the files [IO Util.js] [ChannelReplacement.js] We can work with the above … Read more

Install a personal firefox web extension permanently

Navigate to the folder where your extension is located. You can build it in the usual way using web-ext: web-ext build You can install this ZIP file permanently in Firefox by going to about:addons and dragging this file into the tab. In order for this to work, you need to set xpinstall.signatures.required to false in … Read more

firefox add-on vs. extensions vs. plugins

Add-on: essentially anything that can be installed into the browser. This includes for example extensions, themes, plugins, dictionaries, language packs, search engines. Extension: a package extending browser functionality, the extension format used by Firefox works in Gecko-based browsers only. Extensions typically use XUL and CSS for their user interface as well as JavaScript for dynamic … Read more