title: location.hash in an iframe scrolls the parent window
body: <p>I have a page with an iframe. Inside the iframe is code (that I can't change) that sets location.hash to the id of an element in the iframe window.</p>
  
  <p>This has the unwanted effect of scrolling my outermost browser window so that the top of the window touches the top of the iframe.   This is quite annoying as I have a toolbar above the iframe that is vital to my app.</p>
  
  <p>Is there any way of preventing the setting of location.hash affecting the scroll position of the main window?</p>
  
  <p>Will preventDefault help me out here?</p>
  
  <p><strong>EDIT: It looks like this isn't really possible in the way I described it.</strong></p>