kris wrote:
> Hi All,
> 
> Thanks in advance for your help, really much appreciated.
> I have script tag on my html page which i would like to change with
> another. there is only one occurrence of this.
> 
> currently i have,
> <script type="text/javascript" src="http://stage-env.com/videoplayer/
> kris/External.js">
> which i want to replace with
> <script type="text/javascript" src="http://test-env.com/videoplayer/
> aolbc/External.js">
> 
> 
> Thanks,
> Kris
[snip]
You can easily replace the script node in the the dom but I'm not sure
if it will accomplish what you want.  All scripts that are part of the
page load are loaded before GreaseMonkey triggers.

Now if you don't care and just want to replace that code,  I think it
should be as easy as over riding the reference to that player with a
reference to your player.  I'm not sure if this will accomplish what
you want but it certainly would be worth an experiment or two.

-- 
In Reach Technology:    http://www.inreachtech.net/

Robert G. Werner
[email protected]

Tel: 559.304.5122

Any man who hates dogs and babies can't be all bad.
                -- Leo Rosten, on W.C. Fields

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to