I'm not sure if I would bother with this unless I was directed to by management.
For one, its not the easiest thing to pull all the browser history, at least not for all the browsers listed. For another, its trivially easy for someone to delete their browsing history, which means it won't show up in any results.
Anyway, you'd have to figure out how to actually report on it. You could do something like run a Casper Remote run command against the target Macs to get some immediate results back I guess.
If you really want to do this, here's a simple line that should print the sites from your own Safari browser history and only show any with "apple.com" in them. You'd have to make this work for other accounts.
defaults read ~/Library/Safari/History.plist | grep '""' | awk -F'"' '{print $4}' | grep "apple.com"
There are likely much better ways of doing this, like looking at this through your schools content filter.
Thanks for that...management is already pulling the trigger on this so I can scope to my small group and perhaps make this an extension attribute or something.
Gabe Shackney
Princeton Public Schools