Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 sanitiseUrl
 scheme
 setAttrUrl
 setFragment
 setHost
 setHref
 setPassword
 setPath
 setPort
 setQuery
 setScheme
 setUrl
 setUrlSegment
 setUser
U
 unwatch
 updateHref
 updateHrefShim
 updatePath
 updateQuery
 url
 urlObjectToString
 urlToObject
 user
W
 watch
var sanitiseUrl = function (url)
Sanitise a URL.
"scheme" : function (scheme)
Get/Set the scheme segment of the URL for the given element(s).
var setAttrUrl = function (attr,
url)
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.
"setFragment" : function (fragment)
Set the fragment string for the elements URL.
"setHost" : function (host)
Set the host string for the elements URL.
var setHref = function (url)
Sets the href URL value for an element.
"setPassword" : function (password)
Set the password string for the elements URL.
"setPath" : function (path)
Set the path string for the elements URL.
"setPort" : function (port)
Set the port string for the elements URL.
"setQuery" : function (query)
Set the query string for the elements URL.
"setScheme" : function (scheme)
Set the scheme string for the elements URL.
"setUrl" : function (url)
Set the elements URL (stored under it’s “data-href”, and/or “href”/”src” attribute).
var setUrlSegment = function (url,
segment,
value)
Set the value of a segment within a URL string.
"setUser" : function (user)
Set the user string for the elements URL.
"unwatch" : function ( )
Removes a watch previously created with watch, and prevents modifications being made to new elemenets of the same selector.
var updateHref = function (segment,
value)
Update a segment of the elements href URL.
var updateHrefShim = function (parameters)
Shim function for reorganising parameters before calling updateHref().
var updatePath = function (path)
Update the path string for the elements URL.
var updateQuery = function (query)
Update the query string for the elements URL.
"url" : function (url)
Get/Set the href string for the given element(s).
var urlObjectToString = function ( )
Converts a URL object to a string (used to override toString for URL objects).
var urlToObject = function (url)
Parse a URL into segments using the DOM.
"user" : function (user)
Get/Set the user segment of the URL for the given element(s).
"watch" : function (callback)
Automatically apply all modifications to new elements added to the DOM that match the selector for the supplied elements.
Close