2017-02-24 133 views
-1

我有一个域,并希望为我的铬没有任何人知道它的启动站点,但这不是我的问题,我想整合一个谷歌搜索引擎,以便您可以搜索并转发到结果在谷歌。集成谷歌搜索网站

<style type="text/css"> 
button{ 
width:128px; 
height: 128px; 
left: 40%; 
position: relative; 
} 

button img{ 
width: 128px; 
height: 128px; 
margin-left: -8px; 
margin-top: -4px; 
} 

input{ 
height: 45px; 
width: 300px; 
font-size: 18px; 
margin-bottom: 20px; 
background-color: #fff; 
padding-left: 20px; 
text-align: center; 
left: 32%; 
position: relative; 
} 
</style> 

<button><img src="youtube.jpg"></button> 

<br> 

<input type="search" name="search" placeholder="Search on google here"> 
+0

那么什么是你的问题?在你说“我该怎么做?”之前,请记住,那样的问题太广泛了,并且会像这样封闭。所以,如果您迄今为止编写了任何代码,我强烈建议将其添加到您的问题中。你应该阅读“[我怎么问一个好问题?](http://stackoverflow.com/help/how-to-ask)”。 –

+0

我编辑了帖子,我的意思是如果您在搜索框中输入“可爱的猫”,您将转发到“https://www.google.se/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF -8#safe = active&q = cute + cats&*“ –

回答

0

有很多免费的替代方案可以为你做。

试用谷歌自定义搜索,如果你想更具体的东西:

https://cse.google.com/cse/

+0

我正在考虑一个开放的搜索栏,它搜索整个网站(而不是深度网站:D)而不是特定的网站,但这是完美的 –