Click here to Skip to main content
12,350,597 members (23,222 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VS2010 VB.NET

Hello everyone I'm using webbrowser in my application but I need hide or delete elements from source

<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 4-Jan-13 2:06am
LegendM289
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!
   
The simplest approach it to use JavaScript on the page you want to process, but is this allowed by your requirements?
—SA

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160621.1 | Last Updated 4 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100