<!-- SiteSearch Google -->
<form method="get" action="http://www.google.com/search">

        <div style="background-color:white">

                <a href="http://www.google.com/">

                        <img src="http://www.google.com/logos/Logo_40wht.gif" border="0" alt="Google" />

                </a>

                <input type="text" name="q" size="31" maxlength="255" value="html" />

                <input type="hidden" name="ie" value="GB2312" />

                <input type="hidden" name="oe" value="GB2312" />

                <input type="hidden" name="hl" value="zh-CN" />

                <input type="submit" name="btnG" value="Google Search" />

                <input type="hidden" name="domains" value="http://www.speed.com/" />

                <br />

                <input type="radio" name="sitesearch" value=" " />

                <label for="sitesearch">搜索WWW</label>

                <input type="radio" name="sitesearch" value="www.speed.com" checked="checked" />

                <label for="sitesearch">搜索uuspeed</label>

        </div>

</form>

<!-- SiteSearch Google -->

<!-- Baidu Search -->

<form method="get" action="http://www.baidu.com/baidu">

        <div style="background-color:white">

                <img src="http://img.baidu.com/img/logo-137px.gif" border="0" alt="baidu" />

                <input name="word" size="30" maxlength="100" value="html" />

                <input type="submit" value="Baidu Search" />

                <br />

                <input name="tn" type="hidden" value="bds" />

                <input name="cl" type="hidden" value="3" />

                <input name="si" type="hidden" value="www.speed.com" />

                <input name="ct" type="hidden" value="2097152" />

                <input name="s" type="radio" checked="checked" />

                <label for="s">搜索uuspeed</label>

        </div>

</form>

<!-- Baidu Search -->

http://www.dreamdu.com/webbuild/google_search/点击打开链接

<form method=get action="http://www.google.com/search">
<input type=text name=q onfocus="if(this.value=='请输入关键词...') {this.value='';}this.style.color='#313131';" onblur="if(this.value=='') {this.value='请输入关键词...';this.style.color='#313131';}" value="请输入关键词..." x-webkit-speech lang="zh-CN" onwebkitspeechchange="foo()" x-webkit-grammar="bUIltin:search" >
<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.speed.com" >
<input type=hidden name=sitesearch value="www.speed.com">
</form>

资料http://blog.sina.com.cn/s/blog_5446a5800100jw1m.html点击打开链接

Google和Baidu的站内搜索代码的更多相关文章

  1. 一分钟加入google站内搜索代码

    一分钟加入google站内搜索代码| 一分钟加入google站内搜索代码|只有7行最精简.网上有很多 google 站内搜索代码,但是出于某些目的,很多都加入了多余的代码,从seo的角度来讲,是很不优 ...

  2. 完善dedecms站内搜索代码,为搜索结果添加第*页

    自那些平凡而伟大的程序猿开发了内容管理系统(cms),为了让看客们更快地找到自己感兴趣的内容,他们不断完善站内搜索代码,形成了一个小型的站内搜索引擎.可能有些网站模板设计师没考虑到seo的问题,很多站 ...

  3. 为帝国cms模板添加站内搜索小教程

    由于客户的需要,最近都在整帝国cms,很多东西还是不熟悉,特别是帝国cms模板,以前用的那些网站模板一般是保存在ftp文件中,而帝国cms模板是直接保存在数据库中,修改是在网站后台的模板管理,得慢慢适 ...

  4. 通过Google Custom Search API 进行站内搜索

    今天突然想把博客的搜索改为google的站内搜索,印象中google adsense中好像提高这个站内搜索的代码,但苦逼的是google adsense帐号一直审核不通过,所以只能通过google c ...

  5. Lucene.net站内搜索—3、最简单搜索引擎代码

    目录 Lucene.net站内搜索—1.SEO优化 Lucene.net站内搜索—2.Lucene.Net简介和分词Lucene.net站内搜索—3.最简单搜索引擎代码Lucene.net站内搜索—4 ...

  6. Google 宣布在 4 月 1 日关闭站内搜索

    今春,Google 计划终止又一项产品,它就是“站内搜索”(Site Search)功能.这项产品主要出售给 web 出版商,让它们可以在自家网站内运用业内领先的搜索技术.虽然该公司并未公开宣布此事, ...

  7. Lucene.net站内搜索—1、SEO优化

    目录 Lucene.net站内搜索—1.SEO优化 Lucene.net站内搜索—2.Lucene.Net简介和分词Lucene.net站内搜索—3.最简单搜索引擎代码Lucene.net站内搜索—4 ...

  8. 百度站内搜索https不可用切换api搜索,加上谷歌api站内搜索

    google推https几年了,百度开始宣传全面https,但是,百度站内搜索 自己的服务却不走https,接口报错.百度分享也是. 然后采用http://search.zhoulujun.cn/cs ...

  9. Lucene.net站内搜索—6、站内搜索第二版

    目录 Lucene.net站内搜索—1.SEO优化 Lucene.net站内搜索—2.Lucene.Net简介和分词Lucene.net站内搜索—3.最简单搜索引擎代码Lucene.net站内搜索—4 ...

随机推荐

  1. UI控件(ios)---UIImageView

    在实现网络异步存储中,突然发现对控件UIImageView有点生疏了,在这里复习一下. UIImageView,顾名思义是用来放置image的. 1.初始化UIImageView   UIImageV ...

  2. SPFA算法 O(kE)

    主要思想是:     初始时将起点加入队列.每次从队列中取出一个元素,并对所有与它相邻的点进行修改,若某个相邻的点修改成功,则将其入队.直到队列为空时算法结束.     这个算法,简单的说就是队列优化 ...

  3. BZOJ.2660.[BJOI2012]最多的方案(DP)

    题目链接 首先我们知道: 也很好理解.如果相邻两项出现在斐波那契表示法中,那它们显然可以合并. 所以我们能得到\(n\)的斐波那契表示,记\(pos[i]\)为\(n\)的斐波那契表示法中,第\(i\ ...

  4. BZOJ2217 : [Poi2011]Lollipop

    若能得到一个和为t的区间,那么至少去掉两端点中任意一个后必定能得到和为t-2的区间. 所以只需要分别找到和最大的和为奇数和偶数的区间,然后$O(n)$完成构造即可. #include<cstdi ...

  5. Codeforces Round #258 (Div. 2) C. Predict Outcome of the Game 水题

    C. Predict Outcome of the Game 题目连接: http://codeforces.com/contest/451/problem/C Description There a ...

  6. 在.net core 2.0中生成exe文件

    .net core 2.0程序默认生成的是一个dll,需要通过dotnet命令来执行他. dotnet ConsoleApp1.dll 这种方式有点类似于java程序.本身这种方式没有什么问题,但在调 ...

  7. JTAG TAP Controller

    The TAP controller is a synchronous finite state machine that responds to changes at the TMS and TCK ...

  8. STM32F4XX devices vector table for EWARM toolchain.

    ;/******************** (C) COPYRIGHT 2015 STMicroelectronics ******************** ;* File Name : sta ...

  9. 《Go语言实战》摘录:7.3 并发模式 - work

    7.3 并发模式 - work

  10. 《Go语言实战》摘录:6.3 并发 - 竞争状态

    6.3 并发 - 竞争状态