title: Need help figuring out why this doesnt work
body: <p>I am trying to make a bookmarklet that deletes the whole website since im just starting out with coding but the script doesnt work so does anyone know why this script wont work as a bookmarklet i have tried many things but i can figure it out it works in the inspect element console but not as a bookmarklet if you know why this wont work please tell me (i put javascript: in the front)</p>
  <pre><code>
  setTimeout(function()
  {
    alert(&quot;Bye Bye&quot;);
   document.documentElement.innerHTML = '';
  },millisecondsDelay);```
  
  
  </code></pre>