You cannot remove bars at the top and bottom of the Safari application. I saw applications that embed Safari in them without two bars, but you could not do this using Javascript or the metadata tag on your page.
UPDATE
There is a trick that allows you to hide the address bar by scrolling through the page. Something like that:
<script type="application/x-javascript">
addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){
window.scrollTo(0,1);
}
</script>
Roman source
share