- You can make location bar readonly only if you are using window.open.
- In case of IE, we can change the setting of browser for this. But this may not be good idea.
so for just disabling location bar by using window.open, the code is as follows:
subwin = window.open(url,"dummyname",'width=635px,resizable=no, height=535px, menubar=no, toolbar=no, location=no, scrollbars=no');
In the example above, location=no disables the location bar.
You can change the value of size,scrollbars, menubar etc. as your choice.
Thank you.