I want to hide a URL string from a single application using JavaScript.
I tried to set the body element to a large height and then execute:
window.scrollTo(0, 0);
But that will not work. The URL bar is still visible. Can someone tell me how to solve this problem?
source
share