Clear Browser cache/history/cookies with SwiftDialog UI

ScottEKendall
New Contributor III

This one grew out of necessity at my old job.  The higher level VPs didn't want to go into each browser settings and clear their cache/cookies/history when asked to do so, so I tried to create a "one stop shop" to work on all installed browsers with a single click.  The goal was to keep their bookmarks, extensions & tabs intact...and it works "for the most part".  If anyone knows critical directories / files that should be kept during a cleanup, by all means, let me know and I can get it put into the code.  Hopefully you find this app useful.

Code is here: https://github.com/ScottEKendall/JAMF-Pro-Scripts/blob/main/ClearBrowserCache.sh

Screenshot 2025-02-21 at 10.18.50 AM.png

2 REPLIES 2

dletkeman
Contributor II

Nice idea!  Looks like the link is broken though:

dletkeman_0-1740167820431.png

Keep these coming!  You're doing good work here.

Link should be:
https://github.com/ScottEKendall/JAMF-Pro-Scripts/blob/main/ClearBrowserCache/ClearBrowserCache.sh

ScottEKendall
New Contributor III

yea...I am busy moving everything into files with appropriate READMEs and pictures..for some reason, I cannot change my original post to change the links I posted..

 

This is probably the best link to use: https://github.com/ScottEKendall/JAMF-Pro-Scripts