ooof
V2EX  ›  问与答

为什么谷歌浏览器会把一些网址的 " http:// " 部分隐藏起来?

  •  
  •   ooof · Dec 1, 2013 · 7413 views
    This topic created in 4720 days ago, the information mentioned may be changed or developed.
    这样带来一个问题是,比如要访问 wikipedia.org ,但把域名全拼忘记了,就在 google.com 搜索 “ wikipedia ” ,然后点击显示为 “www.wikipedia.org/” 的链接后,就转到了维基网站了,但在浏览器地址栏显示的是: “ www.wikipedia.org ” 。

    这带来一个不方便就是,如果要用安全协议 ( https://www.wikipedia.org/ ) 访问维基网站,就需要在网址前面输入 “ https:// ” ,而不是仅仅在 “ http:// ” 中间插入一个 “ s ” 。

    在 IE 中看了一下 IE 不是这样处理的,谷歌浏览器这样做有什么道理吗?
    11 replies  •  1970-01-01 08:00:00 +08:00
    v2gba
    v2gba
    Dec 1, 2013
    1
    这是 chrome 的某个新 feature。。。对此不满的人确实很多,如果需要插入 s,可以全选复制粘贴这样后再插。在复制地址时会带上 http...的
    fanzeyi
    fanzeyi
    Dec 1, 2013
    2
    現在只有 IE 不隱藏。
    Choutreeman
    Choutreeman
    Dec 1, 2013
    3
    还真是,好像只有IE不隐藏
    zhttty
    zhttty
    Dec 1, 2013
    4
    随着网络带宽的提升,https的缺点影响逐步变淡,所以应该是为了在鼓励默认https的使用吧...或许有一天,新的标准会要求所有网站都使用https
    why
    why
    Dec 1, 2013❤️1
    5
    https everywhere 扩展,维基在国内应该也让跳转吧
    pine2D
    pine2D
    Dec 1, 2013❤️3
    6
    加到 chrome://net-internals/#hsts 就可以自动跳了
    seiwev
    seiwev
    Dec 2, 2013
    7
    加到 chrome://net-internals/#hsts 方法好用
    ooof
    ooof
    OP
    Dec 2, 2013
    8
    @oumu 谢谢!

    还有一点不清楚,比如在 chrome://net-internals/#hsts 界面,如果要添加 wikipedia.org 域的话,

    Public key fingerprints 右侧的框里应该填什么?
    pine2D
    pine2D
    Dec 2, 2013
    9
    @ooof 填好 domain 后点 Add 就能管用了,fingerprints 干嘛用的没有搜过
    ooof
    ooof
    OP
    Dec 2, 2013
    10
    只写域名的话,点 Add 后,下面显示个:

    Found: mode: STRICT include_subdomains:false domain:wikipedia.org pubkey_hashes:
    ooof
    ooof
    OP
    Dec 22, 2013
    11
    chrome://net-internals/#hsts 中

    添加域名下面的这两条中,STS 和 PKP 分别代表什么意思啊?

    Include subdomains for STS:
    Include subdomains for PKP:
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4343 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 09:50 · PVG 17:50 · LAX 01:50 · JFK 04:50
    ♥ Do have faith in what you're doing.