在前面说过,你可以通过修改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按钮,现在大功告成。
由此你便不需要其他的什么插件了。另外,这个功能可能需要较高版本的Chrome,如果无法打开上面的地址,你可能需要高版本的Chrome。
谢谢收看。
不用翻墙,直接访问各种被和谐的网站~
直接替换掉原hosts即可,hosts文件常位于:C:\WINDOWS\system32\drivers\etc\
-----------#文件开始(这行不要复制,以下开始,文末有直接下载地址)#------------
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
#127.0.0.1 localhost
#::1 localhost
127.0.0.1 localhost
127.0.0.1 activate.adobe.com
127.0.0.1 practivate.adobe.com
127.0.0.1 ereg.adobe.com
127.0.0.1 activate.wip3.adobe.com
127.0.0.1 wip3.adobe.com
127.0.0.1 3dns-3.adobe.com
127.0.0.1 3dns-2.adobe.com
127.0.0.1 adobe-dns.adobe.com
127.0.0.1 adobe-dns-2.adobe.com
127.0.0.1 adobe-dns-3.adobe.com
127.0.0.1 ereg.wip3.adobe.com
127.0.0.1 activate-sea.adobe.com
127.0.0.1 wwis-dubc1-vip60.adobe.com
127.0.0.1 activate-sjc0.adobe.com
199.59.149.243oauth.twitter.com
199.59.149.243mobile.twitter.com
199.59.148.201search.twitter.com
199.59.148.139userstream.twitter.com
199.59.149.243status.twitter.com
199.59.149.243assets0.twitter.com
199.59.149.243assets1.twitter.com
199.59.149.243assets2.twitter.com
199.59.149.243assets3.twitter.com
199.59.149.243static.twitter.com
184.29.36.124platform.twitter.com
219.76.10.138platform0.twitter.com
199.59.148.206help.twitter.com
199.59.148.206support.twitter.com
69.63.189.16 facebook.com
69.63.189.16 www.facebook.com
69.63.181.31 m.facebook.com
69.63.181.20 login.facebook.com
69.63.179.70 secure.facebook.com
66.220.146.18 apps.facebook.com
69.63.181.31 touch.facebook.com
118.214.114.110 s-static.ak.facebook.com
66.220.147.47 api.facebook.com
69.63.181.16 zh-CN.facebook.com
202.157.186.28 static.ak.facebook.com
202.157.186.34 b.static.ak.facebook.com
69.63.178.57 secure-profile.facebook.com
69.63.178.57 secure-media-sf2p.facebook.com
69.63.178.15 ssl.facebook.com
69.63.190.18 apps.facebook.com
118.214.190.105 profile.ak.facebook.com
69.63.187.17 fbcdn.net
97.65.135.139 external.ak.fbcdn.net
124.155.222.50 vthumb.ak.fbcdn.net
97.65.135.163 static.ak.fbcdn.net
97.65.135.163 b.static.ak.fbcdn.net
202.157.186.34 creative.ak.fbcdn.net
118.214.190.128 profile.ak.fbcdn.net
69.63.176.21 s-hprofile-sf2p.fbcdn.net
125.56.199.9 photos-a.ak.fbcdn.net
125.56.199.9 photos-b.ak.fbcdn.net
125.56.199.9 photos-c.ak.fbcdn.net
125.56.199.9 photos-d.ak.fbcdn.net
125.56.199.9 photos-e.ak.fbcdn.net
125.56.199.9 photos-f.ak.fbcdn.net
125.56.199.9 photos-g.ak.fbcdn.net
125.56.199.9 photos-h.ak.fbcdn.net
203.208.46.29 youtube.com
203.208.46.29 www.youtube.com
203.208.46.29 gdata.youtube.com
203.208.46.29 m.youtube.com
203.208.46.29 help.youtube.com
74.125.71.116 upload.youtube.com
203.208.46.29 accounts.youtube.com
203.208.46.29 insight.youtube.com
203.208.46.29 apiblog.youtube.com
203.208.46.29 clients1.youtube.com
203.208.46.29 s.youtube.com
203.208.46.29 s2.youtube.com
203.208.46.29 s.ytimg.com
203.208.46.29 i1.ytimg.com
203.208.46.29 i2.ytimg.com
203.208.46.29 i3.ytimg.com
203.208.46.29 i4.ytimg.com
203.208.46.146 chrome.google.com
203.208.46.146 clients0.google.com
203.208.46.146 clients1.google.com
203.208.46.146 clients2.google.com
203.208.46.146 clients3.google.com
203.208.46.146 clients4.google.com
203.208.46.146 www.googleusercontent.com
203.208.46.146 lh0.googleusercontent.com
203.208.46.146 lh1.googleusercontent.com
203.208.46.146 lh2.googleusercontent.com
203.208.46.146 lh3.googleusercontent.com
203.208.46.146 lh4.googleusercontent.com
203.208.46.146 lh5.googleusercontent.com
203.208.46.146 lh6.googleusercontent.com
203.208.46.146 clients1.googleusercontent.com
203.208.46.146 clients2.googleusercontent.com
203.208.46.146 webcache.googleusercontent.com
203.208.46.146 encrypted.google.com
203.208.46.146 encrypted.google.com.hk
203.208.46.146 docs.google.com
203.208.46.146 docs0.google.com
203.208.46.146 docs1.google.com
203.208.46.146 docs2.google.com
203.208.46.146 docs3.google.com
203.208.46.146 spreadsheets.google.com
203.208.46.146 spreadsheets0.google.com
203.208.46.146 spreadsheets1.google.com
203.208.46.146 spreadsheets2.google.com
203.208.46.146 spreadsheets3.google.com
203.208.46.146 mail.google.com
203.208.46.146 chatenabled.mail.google.com
203.208.46.146 www.google.com
203.208.46.146 www.googlepreview.com
203.208.46.146 translate.google.com
203.208.46.146 translate.googleapis.com
203.208.46.146 clients5.google.com
203.208.46.146 code.google.com
203.208.46.146 picasaweb.google.com
203.208.46.146 lh0.ggpht.com
203.208.46.146 lh1.ggpht.com
203.208.46.146 lh2.ggpht.com
203.208.46.146 lh3.ggpht.com
203.208.46.146 lh4.ggpht.com
203.208.46.146 lh5.ggpht.com
203.208.46.146 lh6.ggpht.com
203.208.46.146 lh7.ggpht.com
203.208.46.146 lh8.ggpht.com
203.208.46.146 lh8.ggpht.com
203.208.46.146 lh9.ggpht.com
203.208.46.146 lh6.google.com
203.208.46.146 profiles.google.com
203.208.46.146 browsersync.google.com
203.208.46.146 talkgadget.google.com
203.208.46.146 ssl.gstatic.com
203.208.46.146 images-pos-opensocial.googleusercontent.com
203.208.46.146 images1-focus-opensocial.googleusercontent.com
203.208.46.146 images2-focus-opensocial.googleusercontent.com
203.208.46.146 images3-focus-opensocial.googleusercontent.com
203.208.46.146 images4-focus-opensocial.googleusercontent.com
203.208.46.146 images5-focus-opensocial.googleusercontent.com
203.208.46.146 images6-focus-opensocial.googleusercontent.com
203.208.46.146 plus.google.com
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com
203.208.46.146 groups.google.com
203.208.46.146 goo.gl
203.208.46.146 appengine.google.com
-----------#文件结束(这行不要复制,以下开始,文末有直接下载地址)#------------
直接下载地址:http://goo.gl/zvYzt
Manager of External Relations 2011/2012 对外关系部负责人