Safari 4 disable private browsing

Discussion in 'Mac Apps and Mac App Store' started by helio1982, Sep 8, 2009.

  1. helio1982 macrumors member

    Joined:
    Dec 29, 2008
    #1
    Hello,

    I want to disable private browsing in Safari 4. I already managed to do it in Safari 3 following Mac Guide instructions (http://guides.macrumors.com/Safari#Disable_Private_Browsing).

    Now I want to do the same in Safari 4. I also downloaded the newest XCode. However, again following the above mentioned instructions I only get an error message saying that it can't open "nibs".

    I'd appreciate any help!

    [please don't start a general discussion about private browsing. Doing it in Safari 3 was the perfect solution for me. I really love this forum!]
     
  2. Gregg2 macrumors 603

    Joined:
    May 22, 2008
    Location:
    Milwaukee, WI
    #2
    You should probably define "disable" so that your intent is clear. Following that link, I'm now assuming that you mean "remove Private Browsing from the menu so that it's not an option". Just reading your post, I wondered if you meant "turn PB off" but that seemed unlikely.
     
  3. helio1982 thread starter macrumors member

    Joined:
    Dec 29, 2008
    #3
    Hi Gregg,

    thx for your reply. What I really want to do is "turn PB off" as you word it. Now, from what I've found out, the way to do this is to disable private browsing (wording of macrumors guides) by taking it out of the menu. This is sort of a work around. The result is that PB is not available any more (Which is what I want).

    The real issue here is that I've been able to open that "MainMenu.nib" with interface builder for Safari 3. Now I have Snow Leopard and Safari 4 (and the newest version of Xcode) and get an error message when trying to open "MainMenu.nib" with Interface Builder stating: "The document "MainMenu.nib" could not be opened. Interface Builder cannot open compiled nibs. Try opening the source document instead of the compiled nib."
     
  4. bridgeleigh macrumors newbie

    Joined:
    Sep 23, 2009
    #4
    Delete

    Yes! I am wanting to delete the PB button in Safari 4 on Snow leopard as well!! Have done so in the past with Safari 3. Please help!!!
     
  5. eyun macrumors newbie

    Joined:
    Apr 17, 2007
    #5
    OK I just figured out how to do this in Safari 4. Same basic idea with a work around. There is another nib in the same directory called 'FindBanner.nib' copy this to your desktop. And use this as your working copy.

    Show package contents of this desktop version and you will see another nib called 'keyedobjects.nib'

    Show package contents of the MainMenu.nib you want to edit and you will see another nib with the same name (keyedobjects.nib).

    Replace your desktop version of 'keyedobjects.nib' with the menu version.

    Open desktop version of 'FindBanner.nib' in Interface Builder and edit the menu as you would before (deleting Private Browsing). Save this version.

    Use this desktop version of 'keyedobjects.nib' to replace the MainMenu.nib version of 'keyedobjects.nib' and you should be good to go.

    I am planning on saving the new MainMenu.nib on my computer to make future updates easier to delete the private browsing. Hope this works for you.
     

Share This Page