Guest User

Untitled

a guest
Dec 16th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. var target, i, l = document.links.length;
  2. for (i = 0; i < l; i++) {
  3. target = document.links[i].href;
  4. document.links[i].href = target.replace(/hoge1/123456789/hoge2//, "hoge3/123456789/hoge4/");
  5. }
Add Comment
Please, Sign In to add comment