PDA

View Full Version : Grabbibg opened URL's in browsers like Safari,firefox




mehdies
May 5, 2013, 07:38 AM
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



Qata
May 7, 2013, 03:23 AM
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.

mehdies
May 7, 2013, 05:49 AM
This is a simple "Parental control" like application.

mfram
May 7, 2013, 01:35 PM
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.

mehdies
May 8, 2013, 12:39 AM
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.

Could you explain more?