Hello
I know how to display an url using the webBrowser control but, how could i display only the content of a div avoiding or hiding ads and the rest of that page
Cheers
You'd either need to parse the data from the control (using whatever language you're using to build this app - which you've not said) and strip out the relevant content altogether... or try and insert your own styles to hide the relevant content (using JS, etc) - which you may not be able to do if the domains are different.
Hope this helps,
Dan
Coedit Limited - Delivering standards compliant, accessible web solutions
Sorry for the delay!!
You've pointed me into the right direction
I'm trying to use FBSL which is able to access DOM elements by embedding an internetexporer.application object
As you mentioned, i can insert my own css or javascript to load an url within a webbrowser control but i'd like them to be applied not only to this url but to all pages run by the user
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.