Create Google Chrome Incognito mode Off mode

Google Chrome incognito mode is a great way to use the browser without any of your browsing or download history being recorded locally on your device or in your Google account. This is a simple way to browse privately so that anyone with physical access to your computer will not be able to see the websites you have visited.

It is worth noting that Incognito mode is not a way to browse safely or anonymously. For example, you can still be tracked online by your ISP, employer or by the website you are visiting. In Incognito mode, cookies are not downloaded, but websites can still see your IP address. In addition, you may still be infected with malware or spyware if you visit malicious websites.

However, the ability to delete your browsing footprint on a local computer is a great feature and very useful for many situations and situations. You can enter Incognito mode in Chrome in a number of different ways: you can right-click the taskbar icon, select New Incognito Window from the menu panel when you click the settings icon in Chrome or by pressing CTRL + SHIFT + N and Command + Shift + N in OS X.

New incognito mode

new incognito window

However, if you use Incognito mode a lot, it is a good idea to create a desktop shortcut to open Chrome directly into Incognito mode. In this article, I will show you how to create anonymous desktop shortcuts in Windows and OS X.

google incognito mode

Anonymous Windows shortcuts

In Windows, you must add an argument called a command line argument to the shortcut path. To do this, you first need a working shortcut on the desktop. If you don't have a shortcut on your Chrome desktop, you can create one by browsing to the following path in Explorer:

C: Program file (x86) Google Chrome Application

Right click chrome.exe, Selection Send to and then click Desktop computers (create shortcuts).

chrome sent to desktop

Now go to your desktop and right click on the Chrome icon and select Nature.

chrome properties

You should be present on Shortcut The tab where you will see a box is called Target. The path to the EXE file will be listed in quotation marks. Click inside the box and move your cursor to the end via the last citation.

chrome target parameter

Now type in a space after it Dissipated. It is worth noting that you can enter a dash or a double dash and both work well. Officially, you should put two dashes, so that's what I pointed out here.

File C: Program (x86) Google Chrome Application chrome.exe

When you click OK, you may receive a UAC warning that you do not have permission to make changes. Just press Continue And it should update the shortcut without any problems.

Uac access denied

Now double click on the shortcut and you will see the new Incognito window open right up. It is probably a good idea to change the name of the shortcut so you can distinguish between the two shortcuts.

If you want your Anonymous browser to automatically open when Windows starts, you can use another command line parameter and just add it after the Ultrasonic game parameter. The parameter to make this is Manhauto-launch-at-startup.

OS X anonymous shortcut

On OS X, you can simply right-click the dock icon and add parameters. For OS X, you have to create your own small application, simply run Chrome with the same anonymous parameters. It sounds complicated, but it's actually quite easy.

First, open a program called Apple Script Editor on your Mac. You can click on Spotlight search and type Script editor Or you can go to Applications, Utilities and click on it.

script editor

Click on New document to create a new project file. In the top window, copy and paste the following code as shown below.

execute the shell script, open open -a / Apps / Google Chrome.app

apple script

Now click File - Saving and you will receive Save as dialog box. First, name your application. This is basically an abbreviation. Next, give Where, change it to Desktop. Finally, change Forma templatet Application.

save apple script

Click Saving And you will see a new icon on your desktop. Now you can click on this shortcut which is actually an app in OS X and it will open Chrome in Incognito mode. The only problem is that Chrome cannot be opened.

If that is acceptable, there are a few other options. Instead of a line of code above, you can replace the code above with the following code:

tell application "Google Chrome"
close windows
make
new window with properties {mode:"incognito"}
activate
end tell

This script will close all existing Chrome windows and then open a new Chrome window in Incognito mode. This is still not a perfect script because all your other Chrome windows will be closed. Fortunately, there is one more scenario you can try to get the job done right.

on is_running(appName)
tell application
"System Events" to (name of processes) contains appName
end is_running

set chrome_running to is_running("Google Chrome")
if chrome_running then
tell application
"Google Chrome"
repeat
with w in (windows)
if mode of w is "incognito" then
set index of w to 1
tell application
"System Events" to tell process "Google Chrome"
perform action
"AXRaise" of window 1
end tell
activate
return
end if
end repeat
end tell
tell application
"Google Chrome"
make
new window with properties {mode:"incognito"}
activate
end tell
else
do shell script "open -a /Applications/Google Chrome.app --args --incognito"
end if

This script will keep all existing Chrome windows open and will open a new window in Incognito mode. The only problem is that the application icon is just the default Script Editor icon.

apple script application

To change this, you have to click once on the application on your desktop and then press HIDE + I or right-click and select Receive information. To change icons for Mac apps, you have to click the icons in the upper left corner and then paste the new icons.

change mac icon

When you click the icon in the upper left, you will see it highlighted in blue. Before you paste a new icon, you'll have to find an icon and copy it to the clipboard. On a Mac, you can use JPEG or PNG images, ICO files or anything like that. You can use the icons already on the system or you have to create .ICNS files, this is the icon file format for Mac.

To help us easily, simply open the Applications folder in the Finder and perform Get information on the current Chrome icon as shown below.

Chrome receives information

Click on the Chrome icon at the top left and it will be highlighted in blue. Now, press C ++ to copy it. Open the Get information on new app screen we created, select the script editor icon at the top left and press INFO + V to paste. You should now have a nice Chrome icon on your desktop that you can run on OS X to open an incognito window without disturbing regular Chrome tabs.

If you encounter any problems during this process, post a comment and I will try to help. Enjoy! Source code: StackExchange