Jump to content

problems with $oIE.document.parentwindow.eval


 Share

Recommended Posts

Hi

I'm getting this error , I think its IE10 issue, works on IE8

C:devAutoIt : ==> The requested action with this object has failed.:
$oIE.document.parentwindow.eval("alert('test');")
$oIE.document.parentwindow.eval("alert('test');")^ ERROR
 
#include <IE.au3>

$oIE =  _IECreate("about:blank")

$oIE.document.parentwindow.eval("alert('test');")
exit
 
Edited by ozmike
Link to comment
Share on other sites

  • 2 weeks later...

I have a work around for IE10 - create some HTML tag eg a div - and add and eval method to it..

 

javascript..
var x=document.getElementById(""myIE10EvalWorkAroundDIv"");
   x.IE10Eval= function( s ) { return eval(s) } ; 

 

full work around

'?do=embed' frameborder='0' data-embedContent>>

Can anyone confirm if

$oIE.document.parentwindow.eval - works on IE10? 

Edited by ozmike
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...