萤火虫,检查元素等。有没有办法隐藏它? [英] firebug, inspect element etc. Is there a way to hide it?

查看:105
本文介绍了萤火虫,检查元素等。有没有办法隐藏它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 < input type =textvalue我只是想知道例如我有这样的代码: =valueid =txtboxstyle =display:none/> 

有没有办法在爬虫或爬虫中找不到?或任何其他检查元素?



希望我的问题有意义
在此先感谢回复:)
..

解决方案

没有。 HTML服务器提供的HTML文档中的任何内容都可以通过简单地对其执行GET请求并以纯文本形式读取结果来轻松处理。因此,任何可能在HTML,CSS,JavaScript或FooScript中尝试的内容都不会起作用。


I'm just wondering for example I have a code like this:

<input type="text" value="value" id="txtbox" style="display:none" />

is there a way that it could not be crawled or find at firebug? or any other inspect element?

hope my question make sense thanks in advance for response :) ..

解决方案

No. Anything within an HTML document, as served by a server, can easily be processed simply by doing a GET request on it and reading the result as plain text. So anything you might try in HTML, CSS, JavaScript or FooScript would have no effect.

这篇关于萤火虫,检查元素等。有没有办法隐藏它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆