How Can I Stop Scripts on a Page in Firefox?

How can I stop scripts on a page in Firefox? I don't care if the solution is draconian. Super-tech-savvy solutions are also fine.

Clarification: I don't want to turn off scripts permanently. I want to be able to kill a script (or all active scripts) on-demand for a given web page.


Solution 1:

It's been answered on a later question. For short:

  • Open the developer console from the menu or by F12.
  • Click the debugger tab.
  • Click the pause button.

Solution 2:

Pressing ESC worked for me as suggested by @simlev. For me, it was a page where a blocking pop-over would be displayed in 5-10 seconds after the page was loaded. Pressing ESC effectively stopped the JavaScript on that page. This wouldn't be a replacement for extensions like NoScript, but could be handy in similar situations.

Update on 10/2020: Given the multiple comments about how pressing ESC does not work, one should not have much hope with this method. As stated before, this worked only for a specific case; however, I guess it does not hurt to try just to see if works for you - without much expectation.