Grabbibg opened URL's in browsers like Safari,firefox

Discussion in 'Mac Programming' started by mehdies, May 5, 2013.

  1. macrumors member

    Joined:
    Jun 10, 2012
    #1
    How we can get opened URL in browsers in a cocoa app? or how we can store every URL opened in browsers in a txt file or everything?


    Thanks
     
  2. macrumors newbie

    Qata

    Joined:
    Dec 21, 2011
    Location:
    New South Wales
    #2
    I doubt it's possible, that would violate the user's privacy so Apple making it a publicly accessible method seems very doubtful, if it exists at all.
     
  3. thread starter macrumors member

    Joined:
    Jun 10, 2012
    #3
    This is a simple "Parental control" like application.
     
  4. macrumors 6502a

    Joined:
    Jan 23, 2010
    Location:
    San Diego, CA USA
    #4
    I don't think going after the browser would be the most reliable way to do it. Instead, I'd go down to the firewall and get it to redirect outgoing port 80 through a program you write. It can watch the HTTP and record what it sees. I would assume this is possible on Mac, I know for sure it's possible on Linux.
     
  5. thread starter macrumors member

    Joined:
    Jun 10, 2012
    #5
    Could you explain more?
     

Share This Page