access safari browser settings

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
KennyR
Posts: 256
Joined: Thu Jan 19, 2012 4:25 am

access safari browser settings

Post by KennyR » Thu May 01, 2014 2:49 pm

Just was wanting to see if anyone could point me in the right direction when it comes to creating a standalone that accesses the general browser settings in safari and Win IE. Really what I need access to is the history and cookies so that I can delete them in the app. Thanks for help in advance....

Kenny

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9444
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: access safari browser settings

Post by richmond62 » Thu May 01, 2014 7:20 pm

A bit odd asking about Win IE on a Mac forum.

Might be better to ask on the Windows one.

Why do you want to use a Livecode thing to delete those settings?

This sounds a bit odd; and I, for one, would be extremely pissed off if a Livecode standalone
I downloaded deleted my browser settings.

In fact so pissed off I would start shouting words like "Virus", "Trojan" and so on.

KennyR
Posts: 256
Joined: Thu Jan 19, 2012 4:25 am

Re: access safari browser settings

Post by KennyR » Thu May 01, 2014 9:27 pm

Well the title of my post pertains to Mac OS seeing that Safari is strictly for Mac ...but non the less, not sure why you would equate my asking how to delete browser history as a sign I am creating the next new virus....I'm not that far advanced nor am I a hacker...I just want to create a widget that has this option (clearing history and cookies) as one of the options. I assume this could be done since most third party programs that run scans on your computer access this data... And maybe therein lies the answer...no need to access the browser when all the files are held on disk...

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9444
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: access safari browser settings

Post by richmond62 » Fri May 02, 2014 8:16 am

Yes; you're quite right.

If you are intending to make a stack called "The Great Browser Settings Purger" then I wouldn't be fussed.

But if you are making a stack that deletes those preference without explicitly stating what your stack does, then . . .

KennyR
Posts: 256
Joined: Thu Jan 19, 2012 4:25 am

Re: access safari browser settings

Post by KennyR » Fri May 02, 2014 11:50 am

let me be clear here....by no way am I trying to "delete" any settings....just files in the appropriate folders....after writing my second post, it became clear that accessing the "browser" is nonsense. I just simply need to access the folders on the hard drive that contain the files I am after. Being an amateur in LC (or coding for that matter), the obvious solution sometimes escapes me. In a backwards way, your post pushed me to the answer! :D

so thank you ...I guess :shock:

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9444
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: access safari browser settings

Post by richmond62 » Fri May 02, 2014 2:19 pm

I have just been playing around with VMware Player here on my Linux box; currently digging around on Windows 7 (fioch),
and here's what I found for Safari over on Mac OS 10.8.2:

Users/XYZ/Library/Caches/Metadata/Safari/History

Users/XYZ/Library/Safari/

Users/XYZ/Library/Cookies

The 'Library' folder is invisible.

Frankly, all rather confusing.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9444
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: access safari browser settings

Post by richmond62 » Fri May 02, 2014 2:20 pm

AND:
Win1.png
Win2.png
Where 'jrm' is my username.

Post Reply

Return to “Mac OS”