Search

What the Quote?

"I'm gonna go play some more. Don't delete my mom."

Kofi Whitney

"You're confused. That's not a boat, that's my hand."

Laura Tripcony

"Don't make me get out my great-grandmother."

Greg Rotz

« Ending the suspense - pricing structure for XIDED | Main| Tease: Refresh Design via HTTP »

Using bookmarks to quickly append the query string

Category show-n-tell thursday
This week's SnTT isn't terribly complicated, just something that saves me time. Any bookmark (or favorite, if you're of the IE persuasion) that begins with "javascript:" instead of a recognized protocol ("http://", "ftp://", etc.) affects the currently open page instead of launching another. This gives you a one-click way to add any query string to the existing URL. For example:

javascript:window.location.replace(window.location.href + "&Login")

The same approach can be used in conjunction with Ben's approach to displaying debugging information:

javascript:window.location.replace(window.location.href + "&Debug=1")