Page 1 of 1
access safari browser settings
Posted: Thu May 01, 2014 2:49 pm
by KennyR
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
Re: access safari browser settings
Posted: Thu May 01, 2014 7:20 pm
by richmond62
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.
Re: access safari browser settings
Posted: Thu May 01, 2014 9:27 pm
by KennyR
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...
Re: access safari browser settings
Posted: Fri May 02, 2014 8:16 am
by richmond62
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 . . .
Re: access safari browser settings
Posted: Fri May 02, 2014 11:50 am
by KennyR
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!
so thank you ...I guess

Re: access safari browser settings
Posted: Fri May 02, 2014 2:19 pm
by richmond62
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.
Re: access safari browser settings
Posted: Fri May 02, 2014 2:20 pm
by richmond62
AND:
Win1.png
Win2.png
Where 'jrm' is my username.