Posted By

certainlyakey on 07/20/10


Tagged

javascript bookmarklet


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

wirenaught


Replace parts of current URL and go to it


 / Published in: JavaScript
 

  1. javascript:(function() {var curloc = location.href; curloc = curloc.replace(/www/g,"cp");curloc = curloc.replace(/view/g,"edit"); location.href = curloc; })();

Report this snippet  

You need to login to post a comment.