url.host Variable
{url.host} Variable
Inserts the host name from the current URL in the browser's address bar into a URL.
For example, suppose a user viewing https://www.msnbc.msn.com/id/13842539/ clicks a custom button shortcut defined as https://www.example.com/hello?from={url.host}. The link will navigate to https://www.example.com/hello?from=https://www.msnbc.msn.com.
Scope
Element |
Attribute that can Use Variable |
<url> (in <shortcuts>) |
href |
<buttonWindow> (in <shortcuts> or <menu>) |
href |
Remarks
The href attribute of the <update> element cannot use any variables.
See Also
To make a suggestion or report a bug about Help or another feature of this product, go to the feedback site.