jquery-urlinternal
jquery-urlinternal copied to clipboard
jQuery urlInternal allows you to easily test internal-, external-, or fragment-ness for any relative or absolute URL. Includes element filtering methods and pseudo-selectors.
I wanted to use jQuery URLInternal's fragment check on a site that used protocol-relative links. Extra variables are a little clunky, but I tried to keep it in line with...
While `$.isUrlInternal('http://benalman.com/')` returns true, `$.isUrlInternal('http://benalman.com')` (trailing slash omitted) returns false. Fix?
Assume that the page is hosted under www.abc.com. The second one returns false instead of true for some unknown reasons. var url = null; url = "http://www.abc.com/"; alert( $.isUrlInternal( url...
This piece of code: A=(z||"").match It looks like IE doesn't like **z||""** - I replaced with just "" for ex. and it doesn't complain. Obviously we need another solution :)