Bookmarklet to edit current URL.

Posted by garymc on Stack Overflow See other posts from Stack Overflow or by garymc
Published on 2010-04-22T09:21:40Z Indexed on 2010/04/22 9:23 UTC
Read the original article Hit count: 271

Filed under:
|
|

Hi, I'm looking for a simple bookmarklet to take the current URL of my website and refresh it with a couple of changes. For example:

  1. Take the current page: http://www.example.com/pages/

  2. and change it to: https: //admin.example.com/pages/ *

  3. then load that new URL.

*(I added an extra space after https:// because I'm a new user so can't have more than one link in my question)

I tried searching for a bookmarklet that can do this but I couldn't find one. Can anyone point me in the right direction? Even a bookmarklet that does something like this that I can edit to suit my needs.

Thanks for any help.

© Stack Overflow or respective owner

Related posts about bookmarklet

Related posts about JavaScript