title: Using JS setTimeout in a bookmarklet
body: <p>I am trying to run some JS code in a bookmarklet in firefox. Here's some basic code to prove the point:</p>
  
  <p>window.setTimeout( function() {alert('i ran');}, 1000 );</p>
  
  <p>when I run code with setTimeout in it, I get the whole page replaced by the counter value that normally gets logged in the console. </p>
  
  <p>Is there a way to catch this output and stop this happening?</p>
  
  <p>Thanks!</p>