方法一:Safari仿真ie
步骤:1、打开Safari(右上角菜单栏)--偏好设置--高级--勾选“在菜单栏中显示开发选项”;
2、开发(右上角菜单栏)--用户代理--选择仿真的版本
3、如果Safari自带的用户代理没有想要的ie版本(比如ie8、ie9等),可以打开:开发(右上角菜单栏)--用户代理--其他 ,手动填写代理版本
附:用户代理链接 https://developers.whatismybrowser.com/useragents/explore/software_name/internet-explorer/
IE版本 系统 用户代理字符串(复制)
Internet Explorer 8 Windows XP Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
Internet Explorer 8 Windows Vista Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; Trident/4.0;)
Internet Explorer 8 Windows 7 Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)
Internet Explorer 9 Windows Vista Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.0)
Internet Explorer 9 Windows 7 Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1)
Internet Explorer 10 Windows 7 Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)
Internet Explorer 10 Windows 8 Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2)
Internet Explorer 11 Windows 7 Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0)
Internet Explorer 11 Windows 8 Mozilla/5.0 (Windows NT 6.2; Trident/7.0; rv:11.0)
Internet Explorer 11 Windows 8.1 Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0)
Internet Explorer 11 Windows 10 Mozilla/5.0 (Windows NT 10.0; Trident/7.0; rv:11.0)