Fun fact: Python itself can open a url in the webbrowser.

And Python is not OS X-only :). In fact, a Python only version might even be simpler.