safari 代理_如何在OS X上更改Safari的用户代理

本文介绍了如何在Apple OS X的Safari浏览器中更改用户代理,以模拟不同浏览器的行为。用户代理欺骗在浏览器战争时期较为常见,但现在由于浏览器对Web标准的遵循度提高,这一需求已减少。在Safari中,通过打开“开发”菜单并选择“用户代理”选项,用户可以选择预设的浏览器版本或输入自定义用户代理字符串。
摘要由CSDN通过智能技术生成
safari  代理

safari 代理

You’ve probably been annoyed at one time or another when visiting a website that requires a specific browser. Luckily, you can fool a website into thinking you’re using a different browser and you can do this with most, including Safari.

当您访问需要特定浏览器的网站时,可能一次或一次让您感到烦恼。 幸运的是,您可以使一个网站误以为您正在使用其他浏览器,并且可以使用大多数浏览器(包括Safari)来做到这一点。

User agent “spoofing” is not a new thing. It was sometimes necessary when there was a so-called browser war. Website designers would often design pages to render and deliver different content depending on the user’s browser. The solution to this was often to send a false “user agent string,” which would fool the web server into delivering you the preferred content.

用户代理“欺骗”并不是什么新鲜事物。 有时在发生所谓的浏览器大战时很有必要。 网站设计人员通常会设计页面来呈现和传递不同的内容,具体取决于用户的浏览器。 解决此问题的方法通常是发送错误的“用户代理字符串”,这会使Web服务器欺骗您以提供首选内容。

Today, users are less likely to have a problem since websites and browsers are better at adhering to web standards. That’s not to say you won’t still encounter one every now and then.

如今,用户很少会遇到问题,因为网站和浏览器更擅长遵守Web标准。 并不是说您不会时不时遇到一个。

If you use Apple OS X’s Safari, here’s how you change the user agent, and even create custom ones as well

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值