15
Nov
2008
Subscribe
Bookmark and Share

chrome

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



WP Greet Box icon
Hello there! If you are new here, you might want to subscribe to the RSS feed for updates on this topic.

Related Articles Latest Articles

If you can not find what you are looking for, you might want to try Google Advanced Search and get thousands of results, specifically selected for you.

Google Advanced Search
.

2 Comments to “How to open Google Chrome in Incognito mode…reloaded!”

  1. scrooge Says:

    in chrome properties, change target to “C:……..\Google\Chrome\Application\chrome.exe” -incognito
    works too

  2. meh Says:

    just add –incognito to the shortcut property…

Leave a Comment

If you want to show an image next to your comments, get your gravatar now!

XHTML - You can use the following tags:  <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv Enabled


Incoming Search Terms for the Article:

chrome adblock incognito - adblock chrome incognito - how to open google chrome in incognito modereloaded - auto open chrome in incognito - chrome auto open incognito - how to automatically run incognito - how to find notepad on incognito - how to open googlw chrome incognito atomaticly - incognito chrome adblock - make incognito open automatically - open chrome in incognito - open chrome in incognito not valid - open chrome incognito window - how do i make chrome open in incogneto automatically - google chrome incognito adblock - adblock incognito - adblock incognito mode - auto load chrome incognito - auto open chrome incognito - automatically open incognito - automatically run incognito google - chrome incognito adblock - chrome open inkognito - direct incognito chrome window shortcut - osh Run wait action to complete -

All contents are licenced under a Creative Commons Licence.
Best screen resolution 1280x800 or higher.
Web Talk is best viewed in Firefox.