国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項超值服

開通VIP
Google和百度、雅虎的站內(nèi)搜索代碼
對于一個網(wǎng)站來說,使用搜索引擎來進(jìn)行站內(nèi)搜索往往比自己編寫的站內(nèi)搜索更高效,并且不占用網(wǎng)站服務(wù)器的資源,下面是我搜集到的幾個主要搜索引擎(Google和百度、雅虎)的站內(nèi)搜索代碼,使用時只需要將代碼里的"www.williamlong.info"替換成你的網(wǎng)址即可。

<!--Google站內(nèi)搜索開始-->
<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站內(nèi)搜索結(jié)束-->

<!--Baidu站內(nèi)搜索開始-->
<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站內(nèi)搜索結(jié)束-->

<!--Yahoo站內(nèi)搜索開始-->
<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站內(nèi)搜索結(jié)束-->

  下面是Google和百度的Javascript版的站內(nèi)搜索代碼:

<!--Google站內(nèi)搜索開始-->
<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站內(nèi)搜索結(jié)束-->

<!--Baidu站內(nèi)搜索開始-->
<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站內(nèi)搜索結(jié)束-->
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊舉報。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
通過百度API函數(shù)實現(xiàn)搜索
ASP做貝寶(paypal)支付接口
用ASP制作在線測試
Google自定義搜索引擎的美化
Google站內(nèi)搜索代碼
input type=hidden - HTML元素
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服