Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.5: Bypass Safari's Private Browsing confirmation box Web Browsers
Do you dislike the confirmation dialog that appears whenever you select Private Browsing from Safari's main menu? Here's how to get rid of it, and enable/disable private browsing via a keyboard shortcut:
  1. In the Keyboard Shortcuts section of the Keyboard and Mouse panel of System Preferences, press the + button to add a new keyboard shortcut.
  2. For the application, choose Safari, and for the menu shortcut, type Private Browsing -- notice you are not typing this with the ellipsis (...) as it appears in Safari's menu.
  3. Choose the shortcut you would like to use to activate private browsing. Press Add.
  4. Quit and relaunch Safari if it's running.
Now when you use this shortcut, it will activate private browsing without the annoying pop-up confirmation. Also, there will now be two Private Browsing entries in the Safari menu: the one without the "..." at the end (and which shows your keyboard shortcut) won't trigger the popup. Enjoy!

[robg adds: This does not work in the 10.4 version of Safari 3. I'm not sure if it's a bug or a feature, but it's pretty useful. Ignore this; error in testing!]
    •    
  • Currently 2.50 / 5
  You rated: 3 / 5 (10 votes cast)
 
[17,899 views]  

10.5: Bypass Safari's Private Browsing confirmation box | 8 comments | Create New Account
Click here to return to the '10.5: Bypass Safari's Private Browsing confirmation box' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Bypass Safari's Private Browsing confirmation box
Authored by: oscillik on Nov 06, '07 10:30:45AM

just for information, you can bypass the confirmation dialog by holding Option as you select Private Browsing

---
we are the music makers, and we are the dreamers of dreams



[ Reply to This | # ]
10.5: Bypass Safari's Private Browsing confirmation box
Authored by: robg on Nov 06, '07 10:58:38AM

My bad -- I tested that this morning, and it didn't work ... because I was testing over VNC, and the special keys weren't getting sent properly.

-rob.



[ Reply to This | # ]
10.5: Bypass Safari's Private Browsing confirmation box
Authored by: oscillik on Nov 06, '07 11:01:24AM

no bad made :)

the hint is handy regardless

even if only to remind people that you can make shortcuts this way....wonder if it works for other stuff like that!

---
we are the music makers, and we are the dreamers of dreams



[ Reply to This | # ]
10.5: Bypass Safari's Private Browsing confirmation box
Authored by: pardthemonster on Nov 06, '07 10:30:48AM

Holding option while selecting "Private Browsing" also works.



[ Reply to This | # ]
10.5: Bypass Safari's Private Browsing confirmation box
Authored by: ClassicUser on Nov 06, '07 11:12:46AM

As pardthemonster indicated:

Let's be clear that this hint simply boils down to "The option key can be used to bypass the Private Browsing confirmation box" - and (obviously) that a keyboard shortcut can be added for any such menu item via the "Keyboard & Mouse" prefpane.

It may seem weird that both menu options appear once the keyboard shortcut is added, but this is standard behavior for the shortcuts listed here (try it with Option-modified menu selections in the Finder, TextEdit, etc.)



[ Reply to This | # ]
10.5: Bypass Safari's Private Browsing confirmation box
Authored by: skigil on Nov 06, '07 11:19:13AM

Brilliant!



[ Reply to This | # ]
10.5: Bypass Safari's Private Browsing confirmation box
Authored by: brett_x on Nov 06, '07 11:24:21AM

I find it interesting that if you try this with Safari 2.0 on 10.4, you don't get the double listing in the menu (but you still get the confirmation dialog box since there isn't a modifier to disable it in Safari 2). It's still nice to have a key mapped to functionality like that.



[ Reply to This | # ]
10.5: Bypass Safari's Private Browsing confirmation box
Authored by: soumya.ray on Nov 06, '07 01:05:30PM

Using an old hint from this site, I have a scripted app in my dock that always brings up Safari in Private Browsing mode when launched. If you don't know how to create a scripted app, you may want to search for that in the archives.

The one change, however, that is needed in my script for leopard is to remove the line that clicks the 'OK' in the confirmation window:

-- Zaps the cookies, history, downloads, and cache files, then launches Safari
-- Sets Private Browsing
-- Also automatically dismisses the pop-up information window
on run {}
do shell script " pre=/Users/$(whoami)/Library; rm -rf $pre/Cookies/Cookies.plist $pre/Safari/History.plist $pre/Safari/Downloads.plist $pre/Cache/Safari >/dev/null 2>&1; exit 0 "
activate application "Safari"
tell application "System Events" to tell application process "Safari"
click menu item "Private Browsing" of menu 1 of menu bar item "Safari" of menu bar 1
-- click button "OK" of window 1
end tell
end run



[ Reply to This | # ]