# How to hide the URL-bar in iOS safari

When writing an HTML5 game (or any other online application), it can be rather annoying sometimes that the URL-bar takes up a rather significant chunk of the screen. This script will remove the URL-bar. Please note that his only works for iPod and iPhone, not for iPads.

### The code

The code is fairly simple. Just place the following code somewhere in your <head> tag:

<script type="application/x-javascript">