Edit javascript code in Firefox

Aditya Pal picture Aditya Pal · Jul 23, 2016 · Viewed 12.4k times · Source

I know that editing Javascript code in Chrome Developer Tools is possible - but I have not found a similar option in Firefox. Is there any way to edit the Javascript on a page in Firefox?

Answer

Charlie picture Charlie · Jul 23, 2016

You can only modify your variables, inject more code, change DOM etc at runtime using console.

Firefox, by version 45, doesn't offer a way for the developers to modify the source files in the debugger and persist changes to the disk like Chrome does.