C#Webbrowser帮助/网站/html扫描 [英] C# Webbrowser help/Website/html scans

查看:118
本文介绍了C#Webbrowser帮助/网站/html扫描的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.

我目前正将自己投入到使用C#开发Webrower的项目中.

浏览器的想法是使它有点免费或让用户可以选择打开广告,所以真正的问题是:

有没有一种方法可以在加载网站时扫描网站中的元素(扫描并逐元素显示并显示元素)

个人而言,我以前从未使用过Web浏览器控件,但到目前为止,使用它似乎还不错.

我希望那里有人可以帮助我ty :)

-Jackie

Hi every one.

im currently casted myself into a project in developmenting a webrower in C#.

the idea of the browser is to make it kinda ads free or let the user have a option to turn of ads, so the real question is:

is there a way to scan a website for elements while loading it (scan and show element by element after it have been scanned)

personaly i''ve never worked with the webbrowser controle before but it seems kinda nice to work with so far.

i hope there is some people out there that can help me ty :)

-Jackie

推荐答案

您应注意,这可能不合法:
网络广告屏蔽可能(完全)合法
[ ^ ]

还有为什么要重新发明井.有一些产品伪装成那样.只需在网上搜索即可.

顺便说一句,要找到一个解决方案将需要花费相当大的精力,因为每个网站都可能以自己的方式添加自己的内容.

通过这样做,您喜欢的某些站点可能会从其部分收入中被私有化,并可能不得不关闭.此外,他们还会找到其他添加方式...,将来只会更难阻止添加.
You should be aware that it might not be legal:
Web ad blocking may not be (entirely) legal
[^]

Also why reinvent the well. There are a few products that pretend to that that. Just search on the web.

By the way, it will take a relatively large effort to have a solution as each web site might do their add their own ways.

By doing that also, some site you like might be privated from a part of their revenues and might have to close. Also, they will find other ways to do add... and it will just make it harder in the future to block adds.


这篇关于C#Webbrowser帮助/网站/html扫描的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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