4
Answers

Add Javascript to Pages shown in webBrowser1?

Ask a question
Alex

Alex

16y
2.1k
1
Hello everybody :P

Basically the title says it all, I need to add javascript to webBrowser1 that is called when a button is pressed. This java I want to call is not in the page itself, which therefore is my dillema. How do you add javascript to the page on button press, without changing the source code to the page that you are on? is it a matter of copying the code and going to a page "about: <code here with added java>", or there some other way to do this? Thanks for your time

Answers (4)