chrome short host trick 4

Posted by peter on November 15, 2010

I usually visit sites hosted at the shortbus labs (my apartment) using a short hostname, but using Chrome this is sometimes problematic- it’ll attempt to search the Goog for results rather than simply visiting the site. It’ll then pop up an apology with a link to click to reach the short host, but this means hands leaving the keyboard to the trackpad, which makes me grumpy.

there is a trick, though- put a / at the end of the shorthost (i.e. shorthost/ as opposed to shorthost), and it won’t send your shorthost name to google for searches.

This is incredibly simple, and really doesn’t deserve a blog post, but it was such an annoyance for me that I’m giving it one.

one-window safari

Posted by peter on July 13, 2009

There is a way to force Safari to live with one window only- Apple has, true to form, hidden this functionality away in hidden preferences. Run the following in Terminal:

defaults write com.apple.Safari TargetedClicksCreateTabs -bool true

..and Safari will no longer create new windows unless you ask it to. (via eNik)