28 Jun 08 How to Start Chrome in Incognito Mode using Javascript!

Well, it looks like our previous hack on how to start Chrome in Incognito Mode fails in Vista, but here’s an alternative Javascipt version you can save as XXX.js and make it work using Javascript:

//Chrome_Incognito.js – start new chrome incognito(sort of)

var liWait=175; //wait ms (double on older pc)

var oSh=new ActiveXObject(”WScript.Shell”);
oSh.Run(”chrome.exe”); //start chrome
WScript.Sleep(liWait);
oSh.Sendkeys(”^+N”); //start new incognito window
WScript.Sleep(liWait);
oSh.Sendkeys(”%{Tab}”); //go previous(first) browser window
WScript.Sleep(liWait);
oSh.Sendkeys(”%{F4}”); //close first browser window

via hackszine Tags:, , , , , , , ,

03 Jun 08 Google Chrome About:Stats Hack!

For the most recent stats on the Google Chrome, you can type about:stats on your browser window.  You will get a nice stats page like above.

You can even figure out how long it took Chrome to process itself by filtering the stats page with keyword, “Chrome”.

Here’s a cool example of using the stats page to display how long it took to load Chrome browser.(exactly that is)

name count time (ms)
Chrome:Init 764
History:InitTime 874
Gears:LoadTime 7
Chrome:ProcMsgL IO 99521

via unlockforus Tags:, , , , , ,