Google和百度、雅虎的站内搜索代码
来源:互联网 发布:suse linux 开启ftp 编辑:程序博客网 时间:2024/05/07 01:19
为了方便,勉得到处找这些地搜寻,所以一次性全找到了。下一次用就不必要那样费时间了!^@^
<!--Google站内搜索开始-->
<form method=get action="http://www.google.com/search">
<input type=text name=q>
<input type=submit name=btnG value="Google 搜索">
<input type=hidden name=ie value=GB2312>
<input type=hidden name=oe value=GB2312>
<input type=hidden name=hl value=zh-CN>
<input type=hidden name=domains value="www.williamlong.info">
<input type=hidden name=sitesearch value="www.williamlong.info">
</form>
<!--Google站内搜索结束-->
<!--Baidu站内搜索开始-->
<form action="http://www.baidu.com/baidu">
<input type=text name=word>
<input type="submit" value="Baidu 搜索">
<input name=tn type=hidden value="bds">
<input name=cl type=hidden value="3">
<input name=ct type=hidden value="2097152">
<input name=si type=hidden value="www.williamlong.info">
</form>
<!--Baidu站内搜索结束-->
<!--Yahoo站内搜索开始-->
<form action="http://www.yahoo.com.cn/search">
<input type=text name="p">
<input type="submit" value="Yahoo 搜索">
<input type=hidden name=vs value="www.williamlong.info">
</form>
<!--Yahoo站内搜索结束-->
下面是Google和百度的Javascript版的站内搜索代码:
<!--Google站内搜索开始-->
<script type="text/javascript">
function googlesearch () {
var wq=document.getElementsByName("wq")[0].value;
var link="http://www.google.com/search?domains=www.williamlong.info&sitesearch=www.williamlong.info&q="+wq;
window.open(link); }
</script>
<input type="text" name="wq"/><input type="submit" onclick="javascript:googlesearch()" value="Google 搜索" />
<!--Google站内搜索结束-->
<!--Baidu站内搜索开始-->
<script language="javascript">
function baidusearch () {
var wd=document.getElementsByName("wd")[0].value;
var link="http://www.baidu.com/s?si=www.williamlong.info&cl=3&ct=2097152&tn=baidulocal&word="+wd;
window.open(link); }
</script>
<input type="text" name="wd"/><input type="submit" onclick="javascript:baidusearch()" value="Baidu 搜索" />
<!--Baidu站内搜索结束-->
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- Google和百度、雅虎的站内搜索代码
- 主要搜索引擎(Google和百度、雅虎)的站内搜索代码
- 调用Google和百度、雅虎进行站内搜索代码
- 几个主要搜索引擎(Google和百度、雅虎)的站内搜索代码
- 百度 和 谷歌 的站内搜索引擎代码
- Google和Baidu的站内搜索代码
- 用百度实现站内搜索的Javascript代码
- double to int64 conversion
- 动态多维度装箱算法
- c++builder E2015 Ambiguity between ‘Gdiplus::Graphics::Graphics(void *)’ and ‘Gdiplus::Graphics::Graphics(void *,int)’
- 运营商和开发商
- ALTER SYSTEM KILL Session Marked for Killed Forever [ID 1020720.102]
- Google和百度、雅虎的站内搜索代码
- ArcGIS10.0操作之七——多边形开洞
- 大家好
- sysfs文件系统
- epoll_create, epoll_ctl和epoll_wait
- Normative Pattern
- 学好VC++的10大良好习惯
- apache与tomcat集群
- C#(ASP.NET)中连接数据库的字符串(连接Access和sqlserver数据库以及用windows和身份验证两种方式)