URL Info
Qubes 10.0 Retrieves URL information.
Properties
| Property | Description |
| Element | URL element about which to return information. |
| Enabled | Boolean indicating whether or not the component is enabled. |
| Hint | Specifies the user hint string that will appear in the component's interactive help bubble. |
| ValueInitial | Determines the component's initial value when the screen opens and each time it is reset (see Reset Button). |
| Visible | Boolean indicating whether or not the component will be visible. |
| Window | Window about which to retrieve URL information. |
Value
Returns the Element information for the URL of the designated Window.
If the window is invalid or unavailable, or if the element is incorrect, the value is ValueInitial.
Remarks
Supported Window values are:
- self : the window or frame where the XForms resides
- parent : the parent window (same as self if self is top level)
- top : the top level window (same as self if self is top level)
- opener : the window that opened the window or frame where XForms resides, can be unavailable if there is no opener (window opened directly, opened from a different origin, or from a link with the noopener attribute set)
Supported Element values are:
- href : the complete url, for instance "https://domain:8080/path?query=1#fragment"
- protocol : the protocol part with the ':' included, for instance "https:"
- host : the host name with optional port included, for instance "domain:8080"
- hostname : the host name only, for instance "domain"
- port : the port number, for instance 8080
- pathname : the path portion of the url, for instance "/path"
- search : the query string of the url, for instance "?query=1"
- hash : the hash (aka anchor aka fragment), for instance "#fragment"
- origin : the URL origin, for instance "https://domain:8080"
For more details, see Location on MDN.