config webfilter search-engine
Configure web filter search engines.
config webfilter search-engine Description: Configure web filter search engines. edit <name> set charset [utf-8|gb2312] set hostname {string} set query {string} set safesearch [disable|url|...] set safesearch-str {string} set url {string} next end
config webfilter search-engine
Parameter |
Description |
Type |
Size |
Default |
||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
charset |
Search engine charset. |
option |
- |
utf-8 |
||||||||||||||||||
|
|
|||||||||||||||||||||
hostname |
Hostname (regular expression). |
string |
Maximum length: 127 |
|
||||||||||||||||||
name |
Search engine name. |
string |
Maximum length: 35 |
|
||||||||||||||||||
query |
Code used to prefix a query (must end with an equals character). |
string |
Maximum length: 15 |
|
||||||||||||||||||
safesearch |
Safe search method. You can disable safe search, add the safe search string to URLs, or insert a safe search header. |
option |
- |
disable |
||||||||||||||||||
|
|
|||||||||||||||||||||
safesearch-str |
Safe search parameter used in the URL in URL mode. In translate mode, it provides either the regex to translate the URL or the special case to translate the URL. |
string |
Maximum length: 255 |
|
||||||||||||||||||
url |
URL (regular expression). |
string |
Maximum length: 127 |
|