URI.js is a javascript library for working with URLs. It offers simple, yet powerful ways of working with query string, has a number of URI-normalization functions and converts relative/absolute paths.
url.js is a lightweight JavaScript library to manipulate the page url.
jurlp is a jQuery URL parser plugin for parsing, manipulating, filtering and monitoring URLs in href and src attributes within arbitrary elements (including document.location.href), as well as creating anchor elements from URLs found in HTML/text.