V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Get Google Chrome
Vimium · 在 Chrome 里使用 vim 快捷键
microka
V2EX  ›  Chrome

全新安装的 Chrome 78.0.3904.97 如何显示完整 URL?

  •  
  •   microka · 2019-11-14 16:04:46 +08:00 · 4238 次点击
    这是一个创建于 1597 天前的主题,其中的信息可能已经有所发展或是发生改变。
    chrome://flags/#omnibox-ui-hide-steady-state-url-trivial-subdomains
    chrome://flags/#omnibox-ui-hide-steady-state-url-scheme
    chrome://flags/#omnibox-ui-hide-steady-state-url-path-query-and-ref

    全新安装的 78.0.3904.97 (当前最新的正式版),已经找不到上述的设置参数,还有什么办法让地址栏默认直接显示完整 URL ?求高手支招。
    19 条回复    2019-11-15 22:38:44 +08:00
    lhx2008
        1
    lhx2008  
       2019-11-14 16:20:06 +08:00 via Android
    双击地址栏可以显示完整的,凑合用吧
    lxk11153
        2
    lxk11153  
       2019-11-14 16:38:21 +08:00
    boboliu
        3
    boboliu  
       2019-11-14 16:57:38 +08:00
    microka
        4
    microka  
    OP
       2019-11-14 17:10:14 +08:00
    @lxk11153 感谢指路,我是 Windows 用户,最后用了 chrome://flags 页面控制台 Console 执行
    [
    'omnibox-ui-hide-steady-state-url-path-query-and-ref',
    'omnibox-ui-hide-steady-state-url-scheme',
    'omnibox-ui-hide-steady-state-url-trivial-subdomains'
    ].forEach(function(f) {
    chrome.send('enableExperimentalFeature', [f + '@2', 'true']);
    })
    解决了,但目前仍有 http:// 无法显示这个问题。
    microka
        5
    microka  
    OP
       2019-11-14 17:11:05 +08:00
    @boboliu 哥你这让用别的浏览器的解决方案我就不考虑啦,谢谢。
    microka
        6
    microka  
    OP
       2019-11-14 17:12:59 +08:00
    @lhx2008 http:// 开头的网址,双击地址栏也无法显示,编辑地址栏也不显示,这个比较恼火,有时只是想复制域名,不需要 http:// 协议头。
    boboliu
        7
    boboliu  
       2019-11-14 17:14:11 +08:00
    如果是 Windows 的话,来用 cent 啊,直接登录咕鸽账号无缝同步。

    使用体验真的好(
    justfindu
        8
    justfindu  
       2019-11-14 17:24:02 +08:00
    http 和 https 有一个锁的区别, 要显示干啥?
    microka
        9
    microka  
    OP
       2019-11-14 17:34:18 +08:00
    @justfindu 比如有一个网址是 http://abc.v2ex.com 我只想复制"abc.v2ex.com"

    如果地址栏不显示 http:// ,那我选中"abc.v2ex.com"复制出来的是"http://abc.v2ex.com";
    如果地址栏显示 http:// ,那我就可以只选中 "abc.v2ex.com" 进行复制。

    明白这个使用场景需求么?
    microka
        10
    microka  
    OP
       2019-11-14 17:36:52 +08:00
    @justfindu see /t/594628 「地址栏复制网址强行加 http,复制个域名去 ping 还要手动删」
    dototototo
        11
    dototototo  
       2019-11-14 18:01:17 +08:00 via Android
    要不要看看有没有什么扩展能解决?不是 Chrome 用户不确定有没有,只是一个建议。
    microka
        12
    microka  
    OP
       2019-11-14 19:38:38 +08:00
    @dototototo 扩展解决方案也行呀,这不是问问各位有没经验嘛
    moxuanyuan
        13
    moxuanyuan  
       2019-11-14 19:46:18 +08:00
    chrome 快捷方式 - 目标,添加参数

    **显示 https** `--disable-features=OmniboxUIExperimentHideSteadyStateUrlScheme`

    **显示 www** `--disable-features=OmniboxUIExperimentHideSteadyStateUrlTrivialSubdomains`
    moxuanyuan
        14
    moxuanyuan  
       2019-11-14 19:47:36 +08:00
    microka
        16
    microka  
    OP
       2019-11-14 19:52:25 +08:00
    @moxuanyuan 现在 https 和 www 都显示了,唯独 http 还没找到方法显示。你提到这个 Google 的扩展我之前装过,装上没发现显示上有什么区别,http 也还是不显示,这个扩展应该怎样用呢?
    microka
        17
    microka  
    OP
       2019-11-14 19:55:25 +08:00
    @zsdroid 感谢! HostCopy 这个扩展有用!没想到还有人专门搞个扩展来满足这个需求啊,还是好多年前就有了。
    lxk11153
        18
    lxk11153  
       2019-11-15 09:40:08 +08:00
    @microka #10 有些域名禁 ping 的 比如 github.com, 但用一些其它工具 比如 nping 可以 see /t/556860

    ping github.com
    PING github.com (13.229.188.59): 56 data bytes
    Request timeout for icmp_seq 0

    nping github.com
    Starting Nping 0.7.80 ( nmap.org/nping ) at 2019-11-15 09:36 CST
    Max rtt: 211.824ms | Min rtt: 197.083ms | Avg rtt: 203.865ms
    TCP connection attempts: 5 | Successful connections: 5 | Failed: 0 (0.00%)
    Nping done: 1 IP address pinged in 4.22 seconds
    microka
        19
    microka  
    OP
       2019-11-15 22:38:44 +08:00
    @lxk11153 哈哈,我只是借别人的需求来辅助说明,我个人并没有 ping 域名的需求。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2863 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 13:51 · PVG 21:51 · LAX 06:51 · JFK 09:51
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.