gpt4 book ai didi

javascript - Google 相关栏 - 如何避免出现在我的网站上

转载 作者:行者123 更新时间:2023-11-28 21:18:45 25 4
gpt4 key购买 nike

我的网站底部会显示一个新的“Google 相关”栏。它显示了我的竞争对手的链接以及 map 等其他内容。它与使用谷歌工具栏的用户联系在一起。如果有人对如何禁用在我的网页端显示有任何想法,我一定会很感激。

最佳答案

取自 http://harrybailey.com/2011/08/hide-google-related-bar-on-your-website-with-css/

Google 使用 .glated-iframe 类将 iframe 插入到您的 html 中

因此隐藏它就像包含以下 css 一样简单:

iframe.grelated-iframe {
display: none;
}

关于javascript - Google 相关栏 - 如何避免出现在我的网站上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6932742/

25 4 0