
A few weeks ago I wrote about a nice trick which lets you open your Google Chrome in Incognito mode, automatically. Well, that trick didn’t work at all, like Tumbleweed pointed out. Anyway the guys at hackszine.com, who never stop looking for alternative ideas, got from a smart guy called Michael T. Bee a nice script which does the whole job smoothly. Here is the trick.
Open your Notepad and save the following javascript as chrome_incognito.js on your desktop.
//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
Every time you double-click on the icon “…it will launch Chrome, make an incognito window, and then close the first window. It does all this by sending artificial keypress events to the application through the Shell ActiveX object, a technique which might come in handy for scripting other standard Windows applications.”
Tags: Chrome, hack, security
Related ArticlesLatest Articles
- How to Automatically Login (Access) to Windows 8
- How to See and Read Unread, Archived and Sent Messages on Facebook
- Switch to the New Facebook Profile Layout (Timeline)
- How to Discover and Recover All Stored Passwords in your Windows Computer
2 Comments to “How to open Google Chrome in Incognito mode…reloaded!”
Leave a Comment
Users Important Words
flying incognito sleep - how to browse in incognito automatically - flying incognito sleep virus - adblock chrome incognito - chrome adblock incognito - adblock incognito - flying incognito virus - flying incognito sleep virus removal -Web Talk is best viewed in Firefox.
November 29th, 2008
in chrome properties, change target to “C:……..\Google\Chrome\Application\chrome.exe” -incognito
works too
February 13th, 2009
just add –incognito to the shortcut property…