Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var players = xpathAry("//a[@class='cleanlink continfo']");
- for (var i = 0;i < players.length;++i) {
- if (players[i].getAttribute("onclick") != players[i].getAttribute("onclick").replace(/([^, ])'([a-z_ ])/ig, "$1\\\'$2")) {
- players[i].setAttribute("onclick", players[i].getAttribute("onclick").replace(/([^, ])'([a-z_ ])/ig, "$1\\\'$2"));
- //alert(players[i].innerHTML);
- }
- }
Add Comment
Please, Sign In to add comment