 # opener    - Opening window (for window.open)
 module.exports = loadDocument = (options)->
   { browser } = options
+  { history } = options
   { url }     = options
   if url && browser.site
     site  = if /^(https?:|file:)/i.test(browser.site) then browser.site else "http://#{browser.site}"


        document.write(response.body)
        document.close()

        ###

        # Handle meta refresh.  Automatically reloads new location and counts
        # as a redirect.

  window.navigator =
    appName:        "Zombie"
    cookieEnabled:  true
    javaEnabled:    ()-> false
    language:       browser.language
    mimeTypes:      emptySet
    noUI:           true
