Inject html/script in webbrowser control

  • Thread starter Thread starter Sehboo
  • Start date Start date
S

Sehboo

I am using webcontrol and do mycontrol.navigate("www.motiont.com");
What I want to do is some how inject google's adsense in it so that
eventhough the www.motiont.com's default page doesn't have google
adsense, it shows it.

Is it possible? and if yes, how?
 
I am using webcontrol and do mycontrol.navigate("www.motiont.com");
What I want to do is some how inject google's adsense in it so that
eventhough the www.motiont.com's default page doesn't have google
adsense, it shows it.

Is it possible? and if yes, how?


With the standard web control, it would not be easy, as you would have
to grab the text and then alter it and then insert the text back, which
the control is not. This page will give you some hints and show how
difficult this process is:

http://snurl.com/k8bi3

There are probably some custom browser controls.

My question is why you are doing this. The only reason I can think of is
to take someone else's content and make money off of it, which is bad
form, IMO.


--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Back
Top