Home
Feed-icon-14x14
“Welcome to my bamboo pain cave”

Duke Of URL

A Bookmarklet

Ok, here's a handy little tool that I created recently for testing URL parameters in the query. I guess you call these things 'bookmarklets' but it's essentially just a bunch of javascript that you can put in a bookmark and then execute whenever you like (on any page).

This particular bookmarklet parses and decodes all of the query parameters and provides a simple (and rather ugly) little UI to modify those parameters or add new ones. After you have hacked the params all to hell and back you can click a button to encode them all and see what happens.

To use Duke Of URL

  1. Save this bookmarklet to your bookmarks.
  2. On any page with query parameters, click the Duke of URL bookmark.
  3. A list of name value pairs for query params will appear at the top of the page along with buttons to add new params or encode the params and reload the page.

Duke of URL

Let me know if it works for you and/or if you find it useful. I found it EXTREMELY handy for testing complex query params and that's why I created it. Sure there's a bunch of tools out there that will do something similar but this is small, simple and fast. Duke Of URL has been tested on the latest FF, IE and Safari but let me know if you find any bugs.

Comments:
JakeZ said on 04/21/08 04:15 PM
Cute and fun. All I expect from a good dev tool.
tres said on 04/21/08 04:20 PM
I guess it works in Safari too?
tres said on 04/22/08 02:37 PM
It works in IE now too. For some reason using appendChild in IE with tables causes all kinds of problems. YAY IE! *barf*
Momma said on 06/28/08 06:27 PM
Not like I know what this is, but the name was just too cute. I had to check out the content.
Tres said on 06/30/08 12:12 PM
Haha, I can show you next time I'm over. It's probably not something you would ever use, it's more like a hacking tool.
add comment
Page last updated over 2 years ago.
© 2008-2009 Tres Henry tres@treshenry.net