How to Enable JavaScript in Windows Phone 8 WebBrowser Control?

If you are using the WebBrowser control in your Windows Phone project, there are times when you want to enable JavaScript in it to achieve various things.

How to Enable JavaScript in Windows Phone 8 WebBrowser Control?

This is pretty simple. The WebBrowser Control in Windows Phone SDK has a property IsScriptEnabled, Just set this property to true.

<phone:WebBrowser x:Name="BrowserControl1"

IsScriptEnabled="True"

/>

You are done. The Javascript is now enabled in the Windows Phone 8 WebBrowser Control