I seem to remember that, in the past, when one disabled Javascript in Firefox, it would immediately stop all previous-loaded scripts and event handlers from running.
However, I am now running Firefox 51 on Ubuntu Linux, and I discovered that setting javascript.enabled
to false in about:config
still allows already-running scripts to run until the next page refresh.
Is there some mechanism to disable Javascript immediately without reloading the page in modern Firefox?