Add support for Mac Safari and Mac Firefox

Adding support for Mac Safari and Mac Firefox.