Grabbibg opened URL's in browsers like Safari,firefox

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

  1. macrumors member

    Jun 10, 2012
    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?

  2. macrumors newbie


    Dec 21, 2011
    New South Wales
    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

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

    Jan 23, 2010
    San Diego, CA USA
    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

    Jun 10, 2012
    Could you explain more?

Share This Page