Sanitise a URL.
var sanitiseUrl = function ( url )
Get/Set the scheme segment of the URL for the given element(s).
"scheme" : function ( scheme )
Given an element, and an attribute, set the attribute to the supplied URL, and created a backup of the original URL if not already done.
var setAttrUrl = function ( attr, url )
Set the fragment string for the elements URL.
"setFragment" : function ( fragment )
Set the host string for the elements URL.
"setHost" : function ( host )
Sets the href URL value for an element.
var setHref = function ( url )
Set the password string for the elements URL.
"setPassword" : function ( password )
Set the path string for the elements URL.
"setPath" : function ( path )
Set the port string for the elements URL.
"setPort" : function ( port )
Set the query string for the elements URL.
"setQuery" : function ( query )
Set the scheme string for the elements URL.
"setScheme" : function ( scheme )
Set the elements URL (stored under it’s “data-href”, and/or “href”/”src” attribute).
"setUrl" : function ( url )
Set the value of a segment within a URL string.
var setUrlSegment = function ( url, segment, value )
Set the user string for the elements URL.
"setUser" : function ( user )
Removes a watch previously created with watch, and prevents modifications being made to new elemenets of the same selector.
"unwatch" : function ( )
Update a segment of the elements href URL.
var updateHref = function ( segment, value )
Shim function for reorganising parameters before calling updateHref().
var updateHrefShim = function ( parameters )
Update the path string for the elements URL.
var updatePath = function ( path )
Update the query string for the elements URL.
var updateQuery = function ( query )
Get/Set the href string for the given element(s).
"url" : function ( url )
Converts a URL object to a string (used to override toString for URL objects).
var urlObjectToString = function ( )
Parse a URL into segments using the DOM.
var urlToObject = function ( url )
Get/Set the user segment of the URL for the given element(s).
"user" : function ( user )
Automatically apply all modifications to new elements added to the DOM that match the selector for the supplied elements.
"watch" : function ( callback )