Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I want to open new browser when open application.
And also hide URL and Top Icon from browser.

How it possible?
Posted

XML
<head id="Head1" runat="server">
    <title>Your Applicateion</title>
    <script type="text/javascript">
        var windowClose = window.close;
        window.close = function () {
            window.open("", "_self");
            windowClose();
        }
        function OpenWindow() {
            window.opener = 'x';
            window.close();
            window.open('Default.html', '_blank', 'status=no,toolbar=no,location=no,menubar=no,directories=no,resizable=no,scrollbars=no,height=' + screen.availHeight + ',width=' + screen.availWidth + ',top=0,left=0');
            return false;
        }
    </script>
</head>
<body onload="OpenWindow();">
    <form id="form1" runat="server">
    </form>
</body>
 
Share this answer
 
Please check the second post in Hide toolbar, address bar in browser[^] (which is the accepted answer).
It is also one nice illustration of your requirement.

Thanks...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900