简体   繁体   English

谷歌搜索结果在 iframe 中

[英]Google search results in an iframe

To the extend of my research, Google stopped allowing its page being displayed in an iframe.就我的研究而言,Google 停止允许其页面显示在 iframe 中。 There used to be a URL ( http://gog.is ) which showed Google results and allowed display in an iframe.曾经有一个 URL ( http://gog.is ) 显示 Google 结果并允许在 iframe 中显示。 That site went down recently.该网站最近关闭了。

I'm wondering is there any way at all now to have Google search results in an iframe?我想知道现在有什么方法可以在 iframe 中使用 Google 搜索结果吗? What's the best solution/alternative to have search results in an iframe?在 iframe 中显示搜索结果的最佳解决方案/替代方案是什么?

Thanks!谢谢!

You can use this link instead of https://google.com/ , it works pretty good:您可以使用此链接而不是https://google.com/ ,它的效果非常好:

https://www.google.com/search?igu=1 https://www.google.com/search?igu=1

With specific word you can use this link:对于特定的词,您可以使用此链接:

https://www.google.com/search?igu=1&ei=&q=YOUR+WORD https://www.google.com/search?igu=1&ei=&q=YOUR+WORD

Than iframe should looks as this:比 iframe 应该是这样的:

<iframe src="https://www.google.com/search?igu=1"></iframe>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM