HTMLUnit 和伪装

发布于 2024-12-21 17:49:18 字数 158 浏览 4 评论 0原文

所以我的问题实际上很简单:

如果我放入 webclient.setCssEnables(false),那么它应该工作得更快,对吗?但谷歌会认为这是伪装吗? (如果您不知道什么是隐形,隐形就是向用户显示与您向 Google 机器人或任何其他机器人显示的不同内容)

So my question is actually quite simple:

If I put webclient.setCssEnables(false), then It should work faster, right? but will Google consider it as cloaking? (In case you dont know what cloaking is, cloaking is showing different things to users that you would show to the Google bot, or any other bot )

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

白龙吟 2024-12-28 17:49:18

HtmlUnit 是一个网络浏览器。为什么 Google 会关心您在网络浏览器中启用或禁用 CSS?在 HtmlUnit 中启用 CSS 不会改变 Web 服务器所提供的服务。

HtmlUnit is a web browser. Why would Google care that you enable or disable CSS in your web browser? Enabling CSS in HtmlUnit doesn't change anything to what a web server serves.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文