A web page uses an external script (<script src=...).
In this script file there is a function which I wood like to modify/
replace.
The function looks like this:

function changeIt(obj, cName1, cName2){
        obj.className=obj.className.replace(cName1,cName2+".");
}

and it should look like this:

function changeIt(obj, cName1, cName2){
        obj.className=obj.className.replace(cName1,cName2);
}

How can I do this?

Thanks!
Jens

--~--~---------~--~----~------------~-------~--~----~
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