`
manabone
  • 浏览: 31103 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

Chrome强制http定向到https方法

阅读更多
Chrome强制http定向到https方法

在前面说过,你可以通过修改hosts的方式来访问Twitter等网站,但是就如同访问Google+(plus.google.com)一样不能直接访问,而是需要https的安全连接才行。你会发现有不少通过修改hosts的方式访问的网站都需要这么做,因为你会觉得很烦琐,比如google groups,Twitter等等。其实如果你使用的是Chrome浏览器,只需几个简单的步骤即可:

1、打开Chrome,在地址栏键入chrome://net-internals/,

2、在HSTS选项卡下的Domain中输入你想要实现这个强制跳转的域名,比如Twitter.com,plus.google.com等

3、最后勾选上Include subdomains,这样可以确保Twitter的所有二级域名都被重定向到https,比如search.twitter.com。

4、点击Add按钮,现在大功告成。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics