This is an offshoot from the Safari JavaScript Bookmarklets hint. If you like to hide the Address Bar in Safari, you can create a bookmarklet that will allow you to enter a web address into dialogue box (shown on two lines; enter as one without a space between the quote and the comma):
javascript:location.href='http://'+(q=prompt('Open%20Location:'
,%20self.location))
Here's a bonus tip - if from the above code you remove the 'http://'+, you can enter any protocol and hostname that you want into the dialogue box. For instance, you could then use any of http:// ssh:// https:// ftp:// telnet:// itms:// sherlock:// afp:// nfs:// smb:// mailto:// aim://, and cool stuff will happen. Of course, you can use all of those protocols directly in the Address Bar, if you use the Address Bar.
•
[6,231 views]

