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')
alternatively check these links -
Hiding Address Bar on Page Load Using JavaScript
Hiding Address Bar on Page Load Using JavaScript