title: Toggle javascript support programmatically without restarting firefox
body: <p>The problem: toggle javascript support without restarting firefox (nor resorting to different driver) during cucumber test run.</p>
  
  <p>If Firefox's <a href="http://mozilla.doslash.org/prefutils/" rel="nofollow" title="prefutils">prefutils</a> were exposed to javascript in a web page, that would make it possible. But it is not the case.</p>
  
  <p>So, is there a plugin that does it? Or is there another way to solve the problem? Or is there a good tutorial (that highlights the exposing bit) on how to make such a plugin? </p>
  
  <p><strong>Edit</strong></p>
  
  <p>On a second thought, how would javascript be of any help once it is disabled? Probably the whole idea is a bit screwed.</p>