Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

McBgnr

macrumors regular
Original poster
Apr 13, 2009
144
0
Hello,

I want to check for the presence of a particular cookie in browser cache. I have Firefox installed on my mac in addition to Safari.

The cookie could be present in either of the browsers.

I am able to use NSHTTPCookieStorage class to get the cookie info for Safari, but for FireFox it did not work.
Any suggestions on how I can do this for browsers other than Safari?
 
Hello,

I want to check for the presence of a particular cookie in browser cache. I have Firefox installed on my mac in addition to Safari.

The cookie could be present in either of the browsers.

I am able to use NSHTTPCookieStorage class to get the cookie info for Safari, but for FireFox it did not work.
Any suggestions on how I can do this for browsers other than Safari?

You would need to use the methods provided by Firefox as it does not use the same Cocoa APIs and is not a webkit based browser.
 
Any pointers or links where I can find the methods provided by FireFox for this purpose?

Do other browsers like IE, iCab, Camino etc also do not use Cocoa API?
 
Any pointers or links where I can find the methods provided by FireFox for this purpose?

Do other browsers like IE, iCab, Camino etc also do not use Cocoa API?

Well for a start Internet Explorer has not been available for the Mac for years so no :).

As for the rest you will need to find out yourself, I have no idea. I would recommend reading about Firefox plugins if you want to see what APIs it exposes to developers.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.