views:

59

answers:

2

how to hide broweser address bar using javascript on client side using java script in onload function of body

+1  A: 

I don't think you can hide the address bar on a user's current window but you can create a pop up that has the address bar hidden:

var popup = window.open("http://someurl", "myPopup", 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=120,height=120')
Matthew Manela
any other mehtod to hide onload , not before redirecting ????
Asad
I don't believe so.
Matthew Manela
A: 

You can create a modeless window, but you cannot hijack the browser's current page.

vol7ron