webfilter : search-engine
 
search-engine
Use this command to configure search engine definitions. Definitions for well-known search engines are included by default.
Syntax
config webfilter search-engine
edit <site_name>
set hostname <url_regex>
set query <str>
set safesearch {disable | header | url}
set safesearch-str
set url <url_str>
end
Variable
Description
Default
<site_name>
Enter the name of the search engine.
No default.
hostname <url_regex>
Enter the regular expression to match the hostname portion of the search URL. For example, .*\.google\..* for Google.
No default.
query <str>
Enter the code used to prefix a query.
No default.
safesearch {disable | header | url}
Select how to request safe search on this site.
disable — site does not support safe search
header — selected by search header, e.g. youtube.edu
url — selected with a parameter in the URL
disable
safesearch-str
Enter the safe search parameter used in the URL. Example: &safe=on
This is available if safesearch is url.
No default.
url <url_str>
Enter the regular expression to match the search URL. For example
^\/((custom|search|images|videosearch|webhp)\?)
No default.