added support for generic safari, opera, and phantomjs