php - Hide address bar in browsers or hide url in the address bar -


i trying hide address bar in browsers. have done enough searching , found code work. following code

function openwindow(){ var browser=navigator.appname; if (browser=="microsoft internet explorer") { window.opener=self;  }    window.open("index.html","null","width=900,height=750,toolbar=no,scrollbars=no,location=no,resizable =yes"); window.moveto(0,0); window.resizeto(screen.width,screen.height-100); self.close(); } 

location=no/0 etc not working , address bar still there. should do? if not possible there way hide url in address bar?

it not possible in modern browsers since concealing address of page aids phishing attacks.


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -