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:browser window, Chrome Incognito Mode, Chrome News, chrome tips, Google Chrome Hacks, hack on, incognito, js, new activexobject, osh, sleep, wscript shell
No comments yet.