Click here to Skip to main content
11,645,489 members (70,433 online)
Rate this: bad
good
Please Sign up or sign in to vote.
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 at 4-Jan-13 8:32am
   
do you want to hide the complete div?
Sandeep Mewara at 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 at 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

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
0 OriginalGriff 700
1 jyo.net 684
2 Sergey Alexandrovich Kryukov 473
3 CPallini 426
4 Afzaal Ahmad Zeeshan 418
0 OriginalGriff 1,065
1 Sergey Alexandrovich Kryukov 703
2 Afzaal Ahmad Zeeshan 702
3 DamithSL 681
4 CPallini 595


Advertise | Privacy | Mobile
Web01 | 2.8.150731.1 | Last Updated 4 Jan 2013
Copyright © CodeProject, 1999-2015
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