• function

steal.html

 

html(urlo, opts)

Parameters

  1. urlo {String}

    The url of the page to open. The url should be relative to rootfolder or a website.

  2. opts {Object | function()}

steal.html(url) loads a page in Envjs and gets it's HTML when it's ready. Use this to make your site crawlable AJAX crawling for Google.

// writes the html to the command line: 
load('steal/rhino/rhino.js')
steal('steal/html', function(){
   steal.html("page.html#Hello+World!")
})