Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 5, 2013, 08:38 AM   #1
mehdies
macrumors member
 
Join Date: Jun 2012
Grabbibg opened URL's in browsers like Safari,firefox

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
mehdies is offline   0 Reply With Quote
Old May 7, 2013, 04:23 AM   #2
Qata
macrumors newbie
 
Join Date: Dec 2011
Location: 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.
Qata is offline   0 Reply With Quote
Old May 7, 2013, 06:49 AM   #3
mehdies
Thread Starter
macrumors member
 
Join Date: Jun 2012
This is a simple "Parental control" like application.
mehdies is offline   0 Reply With Quote
Old May 7, 2013, 02:35 PM   #4
mfram
macrumors 6502a
 
Join Date: Jan 2010
Location: 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.
mfram is offline   1 Reply With Quote
Old May 8, 2013, 01:39 AM   #5
mehdies
Thread Starter
macrumors member
 
Join Date: Jun 2012
Quote:
Originally Posted by mfram View Post
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?
mehdies is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Rewrite certain URL's in any website (Firefox/Greasemonkey) blanka Web Design and Development 2 Jan 3, 2014 12:38 PM
Embed URL of firefox downloads in file mr-ska-jr Mac Applications and Mac App Store 2 Dec 26, 2013 02:12 PM
Major Safari annoyance: before finishing typing URL, Safari loads random page PBF OS X Mavericks (10.9) 8 Oct 2, 2013 03:17 AM
Mozilla Will Not Release an iOS Version of Firefox Due to Apple's Limitations on Third-Party Browsers MacRumors iOS Blog Discussion 99 Mar 14, 2013 10:52 PM
Safari browsers suck stuart2102 Apple, Industry and Internet Discussion 18 Jun 23, 2012 03:15 AM

Forum Jump

All times are GMT -5. The time now is 03:20 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC