Hiding browser address bar without reloading

前端 未结 4 504
天命终不由人
天命终不由人 2021-01-26 05:18

I would like dynamically (via JavaScript) hide the address bar. I realize this can be done when opening a pop-up, but in this case I don\'t have the luxury (the file is being op

4条回答
  •  囚心锁ツ
    2021-01-26 05:42

    If your code will always be running from local disk you can hide the title bar and the address bar using an HTA.

提交回复
热议问题