阅读:1674回复:0
求最方便的使用google site search的方法
插件,keyword,search plugin都可以
发现了一个插件search domain,可惜搜索的时候要打开新窗口,速度有些慢。或者可以把这个插件改一下让搜索结果出现在Tab里面而不是New window里面也可以。 function searchIt() { query=prompt("Enter search terms",""); site=window.content.document.location.href; http=site.lastIndexOf("http://"); if (http>-1) final=site.slice(0,site.indexOf("/",7)) else final=site.slice(0,site.indexOf("/",0)) url="http://google.com/search?q=site:"+final+" "+query window.open(url) } ![]() |
|
|