Try the following and let me know if it works -- #include <ie.au3> Local $oIE = _IEAttach("UR-000000") Local $oDocument = _IEDocGetObj($oIE) Local $oWindow = $oDocument.ParentWindow $oWindow.setTimeout("document.body.JSeval = eval; ", 0) ; a reference to the eval method Sleep(2000) ; give a little time to the browser to create above variables within the javascript environment. $JSeval = $oIE.Document.body.JSeval ; a reference t