Jump to content

Recommended Posts

Posted (edited)

Hey All,

I use a website very regulary and its boring and could do with an update but the developers are lazy. So i'm trying to inject some javascript into the page to make it more interactive.

I can get the <head> tag as an obj easily but it fails when im using

I can output $headTag.innerhtml i just can't set it.

_IEPropertySet($headTag, "innerhtml", $java);

or

$headTag.InnerHtml = $java

Even if i replace $java with some random text.

I get this

C:\Program Files\AutoIt3\Include\ie.au3 (3029) : ==> The requested action with this object has failed.:
$oTemp.innerHTML = $newvalue
$oTemp.innerHTML = $newvalue^ ERROR

Is thead <head> tag protected in some way ?

Thanks

Steve

Edited by Steveiwonder

They call me MrRegExpMan

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
×
×
  • Create New...