阅读:1160回复:2
已经解决:哪位知道如何找到"站内搜索"的js或扩展来实现在网站里面
如题, 我经常用到"站内搜索"功能, 一般谷歌或百度的
请指示一下 搜索"火狐谷歌站内搜索"找到了js |
|
|
1楼#
发布于:2010-10-20 22:15
小书签就行了
javascript:q%20=%20%22%22%20+%20(window.getSelection%20?%20window.getSelection()%20:%20document.getSelection%20?%20document.getSelection()%20:%20document.selection.createRange().text);%20if%20(!q)%20q%20=%20prompt(%22%E8%AF%B7%E8%BE%93%E5%85%A5%E5%85%B3%E9%94%AE%E8%AF%8D:%22,%20%22%22);%20if%20(q!=null)%20{var%20qlocation=%22%20%22;qlocation=(%22http://www.google.com/search?num=100&hl=en-US&newwindow=1&q=site:%22%20+%20escape(location.hostname)+%22+%22+q+%22%22);window.open(qlocation);}%20void%200 |
|
|
2楼#
发布于:2010-10-20 22:15
|
|