Re:URI.js is a facility for working with URLs
by rodneyrehm on Thursday December 29, 2011 @12:40PM
(#3404426)
URI.js now has a feature to test equality of URIs - medialize.github.com/URI.js/docs.html#equals - is that what you were looking for?
I have a bunch of functions (parse_params, get_host, etc.) across a number of projects and always find new bugs with weird URLs that are out in the wild.