Customize your private search results source
openSug( "ipt", {
// Background color of the prompt box.
bgcolor : "",
 
// Highlighted background color of the prompt box.
bgcolorHI : "",
 
// Border color of the prompt box.
borderColor : "",
 
// Color of the text in the prompt box.
fontColor : "",
 
// Highlight the text color in the prompt box.
fontColorHI : "",
 
// Font of the text in the prompt box.
fontFamily : "Montserrat,sans-serif",
 
// Text font size in the prompt box.
fontSize : "14px",
 
// Inner margin of the prompt box
padding : "",
 
// The circular corner radius of the border.
radius : "",
 
// The shadow effect of the border.
shadow : "",
 
// Search for the data source of the prompt box.
source : "",
 
// Whether the form is automatically submitted when selecting the prompts.
sugSubmit : true,
 
// The width of the prompt box.
// Recommended null value.
width : "",
 
// The lateral offset of the prompt box relative to the input box.
// Negative values are shifted to the right
XOffset : "",
 
// The longitudinal offset of the prompt box relative to the input box.
// Negative values are offset downward
YOffset : ""
}, function (){
});
#1f2937
<?php
$keyword = isset($_GET["kw"]) && is_string($_GET["kw"]) && strlen($_GET["kw"]) > 0 ? $_GET["kw"] : NULL;
$callback = isset($_GET["cb"]) && is_string($_GET["cb"]) && strlen($_GET["cb"]) > 0 ? $_GET["cb"] : NULL;
 
// TO DO: $out = "'Candidate words 1','Candidate words 2','Candidate words 3',";
 
if ( preg_match( "/^BaiduSuggestion\.res\.__\d+$/i", $callback ) ) {
$out = rtrim("{$out}", ",");
echo "{$callback}({s:[{$out}]});";
exit;
}