0

Angular 2 v.2.2.0 - how to hide address bar in Chrome? May be some windows.location() function? Or something else in new component?

Eduard Arevshatyan
  • 628
  • 2
  • 18
  • 34

1 Answers1

2

Well this is not possible for security reasons. See more details why on this discussion:

Hiding the address bar of a browser

But what you can do is adding a button which activates fullscreen. So the user doesn't have to look for the settings or the shortcut (F11 on Windows). And before you ask. Enabling fullscreen without user-interaction isn't allowed either. Again for security reasons.

Community
  • 1
  • 1
DaniS
  • 3,184
  • 1
  • 10
  • 18