Methods
-
domain()
-
Return the domain (removes the subdomain from the domain) Note: this will not work if we ever use public suffixes such as co.uk If that is the case, we should use something like https://github.com/lupomontero/psl
- Source:
Returns:
- Type
- string
-
noQuestionSearchString()
-
Get query parameters string after the initial "?" Chiefly used to set cookies later read by our backend
- Source:
Returns:
- Type
- string
-
removeParams()
-
Remove query parameters from the location bar
(This is done via the
history
object)- Source:
-
uriAndQueryString()
-
Get the current location without hash
- Source:
Returns: