Click here to Skip to main content
15,891,942 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone I'm using webbrowser in my application but I need hide or delete elements from source

HTML
<div class="mini-hud" id="huddown" title="bla bla"  önclick="prevframe_show('bla bla');"></div>



I need delete that class

when I do with chrome works perfectly,so it can be done I think.

Grettings,Mert
Posted
Comments
Tharaka MTR 4-Jan-13 8:32am    
do you want to hide the complete div?
Sandeep Mewara 4-Jan-13 11:08am    
Not clear. Can you please elaborate what are you trying to do? You said it's working in Chrome - share the code snippet!
Sergey Alexandrovich Kryukov 4-Jan-13 11:37am    
The simplest approach it to use JavaScript on the page you want to process, but is this allowed by your requirements?
—SA

1 solution

You can access the DOM from your web browser control. You can insert CSS to hide elements, or just remove them, if you know the format of the site you're viewing.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900