For testing purposes I needed to disable javascript in firefox. I took  some searching but found this article that helped me out.

https://support.mozilla.org/en-US/questions/967344

Basically, type “about:config” in the address bar. Control + f to find “javascript”. Right-click on toggle to disable it. Same to enable it.