0

In my application I'd like to display web page with addressbar details should be hidden. Hence I tried the below code and set location=no.

var strStyle  = 'status=yes,menubar=no,location=no,toolbar=no,scrollbars=no,height='+strHeight+'px,width='+strWidth+'px,left='+strLeft+'px,top='+strTop+'px';
var newWindow = window.open(strFileName, strLaunchLocation, strStyle);  

Unfortunatly It couldn't hidden the address bar which is visible to everyone. How do sort it out this issue ?

Smaug
  • 2,625
  • 5
  • 28
  • 44

1 Answers1

0

Modern browsers doesn't hide address bar anymore.

Adding location=no to window.open will only make the address bar read only.

kavin
  • 1,684
  • 1
  • 11
  • 10