Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var target, i, l = document.links.length;
- for (i = 0; i < l; i++) {
- target = document.links[i].href;
- document.links[i].href = target.replace(/hoge1/123456789/hoge2//, "hoge3/123456789/hoge4/");
- }
Add Comment
Please, Sign In to add comment