• 请不要在回答技术问题时复制粘贴 AI 生成的内容
kisshere
V2EX  ›  程序员

一直搞不懂 Chrome 为何如此人性化,复制个网址还要给你添一坨屎: “https://”

  •  
  •   kisshere · Oct 23, 2019 · 17825 views
    This topic created in 2404 days ago, the information mentioned may be changed or developed.

    每次都是复制完了,再去把这个 https 或者 http 去掉,真恶心,而且还不能去除,不知道 Chrome 的产品经理脑子咋想的

    101 replies    2020-12-28 17:42:27 +08:00
    1  2  
    Elio
        101
    Elio  
       Dec 28, 2020
    唉,别去地址栏复制了,创建个书签吧,网址如下:

    javascript:var input = document.createElement('input');document.body.appendChild(input);input.setAttribute('value', window.location.host);input.select();if (document.execCommand('copy')) {document.execCommand('copy');document.body.removeChild(input);}
    1  2  
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2695 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 01:59 · PVG 09:59 · LAX 18:59 · JFK 21:59
    ♥ Do have faith in what you're doing.