Under the right circumstances, you may find this very useful...
Note that this can be used on any webpage, whether you (_IE)Create it or (_IE)Attach to it on the Internet.
; Example demonstrating how to prevent/control refresh, navigation or close of a webpage.
; Particularly useful when you are writing an application with extensive Dynamic HTML
; that can be wiped out with a simple page refresh.
#include <IE.au3>
$oIE = _IECreate()
; Add HTML to blank page
$oBody = _IETagnameGet