@Snorlax To add a bit more functionality, I would do some research and find how to target the users' default browser :)
PS: There's certainly no waste by posting your code. Keep posting!