Quantcast
Channel: MetroStar Systems Blog » C#
Viewing all articles
Browse latest Browse all 11

Injecting and Running Javascript in a Windows.Forms.WebBrowser control

$
0
0

Have you ever needed to inject some JavaScript into a web-page contained in a WebBrowser control and then run said code?  If you have then you’re in luck; here is some sample code which accomplishes exactly that in a console application (the same code works for a WinForms application with a few tweaks):

To see this code in action check out our new visual search here!

-Lee

The post Injecting and Running Javascript in a Windows.Forms.WebBrowser control appeared first on MetroStar Systems Blog.


Viewing all articles
Browse latest Browse all 11

Latest Images

Trending Articles





Latest Images