Added Safari style hack.