Am Montag, 3. November 2014 20:48:03 UTC+1 schrieb Serkan Sarp: > > *document.body.innerHTML= document.body.innerHTML.replace(/OLD/g,"NEW");* >
No. THis will do multiple replaces of "OLD" with "NEW" as you used the "g" flag. Or do you mean: *document.body.innerHTML= document.body.innerHTML**.replace(/OLD/g,"NEW")* *.replace(/SOMETHING/g,"ELSE")**.replace(/BLADI/g,"BLA");* > And my second problem is special characters.I want my second replace: > row="3" to row="1" but it won't. row=\"3\" doesn't, too. Something like > row%22%233%23 (i couldn't remember now) doesn't, too. > > I want make multiple replaces by using special characters in one script. > Can anyone help me please? Thank you > %XX is for URIs. In HTML you can write double quotes as " and as " and as " -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/greasemonkey-users. For more options, visit https://groups.google.com/d/optout.
