Ramblings of a Coder's Mind

Got Tech? Will Hack.

Chrome Tips

Custom Search Engine

Right click the address bar and click Edit search engine. Click add, fill in a name and a keyword followed by the search query. For adding the Messenger Plus Forum Search engine I used the name as “Messenger Plus! Forum Search” (doesn’t really matter what you use here), the keyword as “mpf” and the url as “http://msghelp.net/basicsearch.php?do=search&keywords=%s” where %s represents the search query entered. As a result of adding this, I can now search the MP!F simply by typing “mpf “. I love search shortcuts :)

Searching Google.com instead of your local (regional) google site

This is really a continuation of the previous tip but I just felt it was worthy of being here :P There is a fault (imo) with the default google search engine in Chrome. The keyword is set to “google.com”. Why type all that when you could simply use “g” ;) Also, if you have a look at the google search url in chrome, it uses a base query identifier to redirect to your local google. I just changed mine to “http://google.com/search?q=%s” because while posting google links (especially on irc) to have to remove my browser info every time and sometimes even my country tld in the google domain. This way, it makes it easier for me to paste links though I do realise that google might lose out on accurate statistics of its users because of this but I don’t think it’d mind a handful of users changing their queries when it has billions of searches everyday ;) I’ve also changed my wiki keyword to “w” and urbandictionary.com keyword to “ud

Memory stats for nerds

Well I am a geek/nerd who likes his stats, memory or otherwise ;) Typing about:memory in your url bar ought to take you to some stats while you can do the same by clicking Shift+Esc for basic stats and then clicking “Stats for nerds”. The advanced stats also shows details of Chrome vs other browsers (which should be running at the same time). So you can run Chrome, Internet Explorer, Firefox, Opera and Safari at the same time and compare statistics if you wish ;) Having it update live would have been cooler but that might take up a lot of resources in itself :P Maybe it should auto refresh when someone’s watching but if you go switch to another tab/application or are idle you could stop refreshing it automatically. :)

Resizing Textboxes

You can now resize textboxes by holding down the left mouse button at the bottom right corner and dragging it. And here’s poor dt who wrote a ton of javascript to do the same in dtblog.

Check Loadtimes**

Want to know what took the page so long to load? Do you want to know how long it took your javascript code to execute? Chrome is here to help! Right click anywhere on the page and select “Inspect Element”. Just move on over to the resources tab and analyse away :)

Detaching and reattaching tabs

Tired of having so many tabs in one single window? Want to sort tabs according to what kind of work you’re doing? Sure that’s possible! Drag a tab outside the tab area and drop it. Voila! Brand new chrome window. Each tab in Chrome is a new process anyway so it doesn’t really matter ;)

Private Browsing

You could need to browse privately either to not tell the world of your searches on medical histories, viewing porn (:P) or planning that secret trip for your significant other, who cares? Incognito to the rescue! Press “Ctrl+Shift+N” or just click the new page icon followed by “New Incognito Window”. Incognito is basically opens a private browsing session for you where no traces of what you were doing show up thus maintaining full privacy.

Easter Eggs

Lets end with something fun! Hopefully most of you already know of the about:mozilla easter egg in Mozilla Firefox which pulls out a quote from The Book of Mozilla. Here’s one for Chrome that doesn’t work on Vista. Type in about:internets in the chrome window and you’ll see sspipes.scr run with the title “Don’t clog the tubes”. Doing so on Vista will show a gray tab with the title “The Tubes are Clogged!” since it doesn’t have sspipes.scr. If you don’t get why this screen saver was used, you should know that the Internet is a “Series of Tubes” ;) Don’t clog them with your p0rnz! :P

Here’s a list of the about pages under Chrome that we do know of right now.

  • about: does the same thing as about:version
  • about:cache Shows all cached pages
  • about:crash Shows you the Chrome Crash page (ie what happens when a tab crashes.
  • about:dns Shows list of prefetched DNS records. (Note: Doesn’t work if an incognito window is open).
  • about:hang Simulates tab hanging (Note: Don’t try this in a tab with unsaved data)
  • about:histograms Shows histograms for statistics
  • about:internets Don’t clog the tubes ;)
  • about:memory Stats for nerds :P
  • about:network More stats for nerds
  • about: plugins Lists out all the plugins used by Chrome
  • about:shorthang Simulates crash (Note: Don’t try this until you want your tab to crash. You’ll lose unsaved data in that tab)
  • about:stats Seemingly secret stats page ;o
  • about:version Shows version information for your Google Chrome
Created: 7th September 2008
Category: Hacks
Tag: Browser