I can inject JavaScript in WebBrowser control in C# windows form by this link
How to inject JavaScript in WebBrowser control?
But I can’t do this in WP7, please help me.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Unfortunately
WebBrowser.Documentis not available on WP7. But you can create and call a JavaScript function usingInvokeScript. Have a look over here where I describe how.In short: you don’t use
.Documentand C# but create a piece of JavaScript instead. You then callevalwith this script as parameter to invoke it. Like this: