title: Executing JavaScript from the address bar causes the browser to exit the page?
body: <p>I'm testing a webpage, and I want to execute some JavaScript code from the address bar to change some content (e.g. changing the content of a div)
  I loaded the webpage and typed in the address bar the following:</p>
  
  <pre><code>javascript:document.getElementById("message").innerHTML="anotherthing"
  </code></pre>
  
  <p>And, after executing the above code, the browser changes the content of the div, but inmediatly it exits the page.</p>
  
  <p>How can I avoid that behavior?</p>
  
  <p>Thank you.</p>