url.js
Members
-
static, constant getAbsoluteURL
-
Get absolute version of relative URL. Used to tell flash correct URL.
-
static, constant getFileExtension
-
Returns the extension of the passed file name. It will return an empty string if passed an invalid path.
-
static, constant isCrossOrigin
-
Returns whether the url passed is a cross domain request or not.
-
static, constant parseUrl
-
Resolve and parse the elements of a URL.
Type Definitions
-
url:URLObject
-
Properties:
Name Type Description protocolstring The protocol of the url that was parsed.
hostnamestring The hostname of the url that was parsed.
portstring The port of the url that was parsed.
pathnamestring The pathname of the url that was parsed.
searchstring The search query of the url that was parsed.
hashstring The hash of the url that was parsed.
hoststring The host of the url that was parsed.