Ikerous
Newbie
- Joined
- Aug 10, 2004
- Messages
- 5,622
- Reaction score
- 0
Yea, thats what i'm trying right now
var a = document.body.innerHTML; //this sets a as the whole html
var b = a.replace('oldurl', 'newurl'); //this sets b as the whole html with the old url replaced by the new url
Except everytime i try to have it replace the original html with b it ends up looping :|
var a = document.body.innerHTML; //this sets a as the whole html
var b = a.replace('oldurl', 'newurl'); //this sets b as the whole html with the old url replaced by the new url
Except everytime i try to have it replace the original html with b it ends up looping :|