User Tools

Site Tools


url

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

url [2019/12/17 12:13] (current)
Line 1: Line 1:
 +====== url ======
 +----
 +url - Return the url of the browser
  
 +
 +===== Description =====
 +  url()
 +  url("​$param"​)
 +  ​
 +This function returns a string
 +
 +
 +===== Parameters =====
 +** $param **\\
 +This parameter can be:
 +  * absolutepath
 +  * absoluteuri
 +  * authority
 +  * dnssafehost
 +  * fragment
 +  * host
 +  * port
 +
 +===== Examples =====
 +  navigate("​http://​diaboliclabs.com/​testpage"​)
 +  $this_url=url()
 +  alert($this_url)
 +  $this_authority=url("​authority"​)
 +  alert($this_authority)
url.txt ยท Last modified: 2019/12/17 12:13 (external edit)