if(http == “搜狗”){
document.getElementById(“action”).action=sogou;
document.getElementById(“name”).name=“query”;
}
if(http == “360”){
document.getElementById(“action”).action=w360;
document.getElementById(“name”).name=“q”;
}
if(http == “必应”){
document.getElementById(“action”).action=bing;
document.getElementById(“name”).name=“q”;
}
if(http == “CSDN”){
document.getElementById(“action”).action=CSDN;
document.getElementById(“name”).name=“q”;
}
}
![](img/baidu.png)
![](img/sogou.png)
360搜索
bing搜索
![](img/google.png)
CSDN
菜鸟教程
百度网盘
大圣盘
W3C
School
菜鸟教程