0

当在我的网站上单击按钮时,我实际上希望在外部网站上执行一些搜索。我不知道如何使用 php、javascript 或任何其他语言实现这种行为

为了更好地解决我的问题,请查看以下网址

http://instantdomainsearch.com/

键入 sfdsdf 并单击购买按钮 它确实将用户推送到 Godaddy 并为他执行域搜索,而无需他做任何事情

$(go to url).click()
{perform search on url automatically}
4

1 回答 1

0

那么这里的诀窍是获取您想要定位的搜索引擎的 url 格式

例如,在 google 中搜索的 url 是http://google.com/#q= [query string]

因此要搜索 php,您可以使用以下网址:

http://google.com/#q=php

记住这一点,您可以编写一个 javascript/jquery 代码来执行相应的操作

于 2013-06-30T10:13:38.507 回答