Looking at Compatibility changes in IE11, we have that window.execScript is replaced with eval. Now when using the IE COM object how can we get hold of the JavaScript Global Object that has the eval function?
PowerShell:
$ie = New-Object -COM InternetExplorer.Application $document = $ie.document $window = $document.parentWindow # How to get JavaScript Global Object from these?
See also this related question.
2.1m questions
2.1m answers
60 comments
57.0k users