I have developed a mobile app (in asp.net) and I am using a WinForms application with the WebBrowser control to demo it.
I my main page I am using a script to hide t
The Webbrowser control is a part of the Internet Explorer itself. And Internet Explorer doesnt support the window.addEventListener
method. Use window.attachEvent
method instead.
So the script in your page will read like
window.attachEvent("load", function () {
// Set a timeout...
setTimeout(function () {
// Hide the address bar!
window.scrollTo(0, 1);
}, 0);
});
Hope this would help you!