According to documentation on IHTMLDocument7 interface it is available in Windows 7. I have Windows 7 but Windows scripting host tells me that object doesn’t support this property or method: ‘html.head’.
Dim http
Set http = CreateObject("Msxml2.XMLHTTP")
http.open "GET", "http://websiteurl", False
http.send
Dim html
Set html = CreateObject("htmlfile")
With html
.designMode = "on"
.write http.responseText
End With
WScript.Echo html.head.toString