query Variable
{query} Variable
Retrieves the search string from Toolbar’s Search box. The button combines the search string with the URL of the search target to form a complete HTML search command. For example,
<searches>
<url href="https://msnbc.msn.com/?search=MSNBC&q={query}&id=11881780&FORM=AE&os=0&gs=1&p=1" />
</searches>
Scope
Element |
Attribute that can Use Variable |
<url> |
href |
Remarks
Use the encoding attribute in the <url> element to control how the search term is encoded. By default, the search string is encoded as utf-8.
Important If your custom button will be distributed internationally, make sure that you have properly encoded the character set for the {query} variable. For more information, see String Encoding for Button Variables.
To make a suggestion or report a bug about Help or another feature of this product, go to the feedback site.