How can I set the default browser depending on time of day? I have a MacBook Pro from work. To keep my browsing history separate, I use 2 different browsers. (Chrome = Work, Safari = Fun) 

I want to make my default browswer Chrome while at work (9 am to 6pm), and Safari my default browser in the evenings. This will prevent me from accidentially opening a link in the wrong browser. 

How could I switch my default browser at predefined times throughout the day? 

Update

There does not appear to be a 'set default browser' workflow in automator. Perhaps it would be possible to edit this file? 

/Users/yourname/Library/Preferences/com.apple.LaunchServices.plist


https://discussions.apple.com/thread/2803775?tstart=0
Not nearly as complicated, but perhaps of value, is the app Choosy. It allows you to choose your browser every time you open a link outside of a browser. While this might sound onerous, it's actually pretty transparent, and I find it very useful in the leadup to going live with a new web project and testing in multiple browsers over and over and over…

Might suit the bill if one added keystroke isn't a problem. Of course, once you're inside Safari, links clicked will open in Safari (although there's even a way to modify this behavior.)

FWIW.

Choosy