How can I edit JS from browser?
<p>Suppose I get, on a page, this simple html/script :</p>

<pre><code>&lt;a id="hey" href="#"&gt;try&lt;/a&gt;

var myvar=false;

$('#hey').click(function () {
    if(myvar)
    {
        alert("Well! You change it!");
    }
});
</code></pre>

<p>clicking on the link, I won't never get the alert show up! So, how can I edit JS (changing <code>myvar=true;</code>) on browser? I use Firebug... I need these details to test a security-side of my own application.</p>
