<strong></strong><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(85, 85, 85); font-family: ”微软雅黑”, Verdana, Arial, Helvetica, sans-serif; line-height: 20px; ">有的朋友修改host进某些网站,但每次进入都是诸如 http://twitter.com ,大多时候有可能进不去。前段时间就算修改了,输入http://plus.google.com ,G+也是也进不去的,需要手动修改http为https,方能进入。</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(85, 85, 85); font-family: ”微软雅黑”, Verdana, Arial, Helvetica, sans-serif; line-height: 20px; ">今天,在Google+看到一篇介绍Chrome浏览器强制http重定向到https的简单方法,搬到这里来,纯粹的Chrome技巧。</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(85, 85, 85); font-family: ”微软雅黑”, Verdana, Arial, Helvetica, sans-serif; line-height: 20px; "><strong>下面是步骤:</strong></p><ol style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 10px; padding-left: 0px; color: rgb(85, 85, 85); font-family: ”微软雅黑”, Verdana, Arial, Helvetica, sans-serif; line-height: 20px; "><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; list-style-position: inside; ">地址栏输入chrome://net-internals/</li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; list-style-position: inside; ">在HSTS的标签栏里Domain里填上需要访问的domain,比如twitter.com</li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; list-style-position: inside; ">然后选中Include subdomains点击Add按钮即可,可以加多个域</li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; list-style-position: inside; ">这样所有访问这个域名(包括子域名)都自动转到https了</li></ol><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(85, 85, 85); font-family: ”微软雅黑”, Verdana, Arial, Helvetica, sans-serif; line-height: 20px; ">相关的扩展可以卸载了,绿色又环保。</p>