sunnist
V2EX  ›  设计

v2ex上链接为什么不设计成短链,极端情况下原链接非常难看

  •  
  •   sunnist · Jun 9, 2013 · 5977 views
    This topic created in 4901 days ago, the information mentioned may be changed or developed.
    37 replies  •  1970-01-01 08:00:00 +08:00
    sunnist
    sunnist
    OP
    Jun 9, 2013
    1
    paloalto
    paloalto
    Jun 9, 2013
    2
    1. 短链不是必须。

    2. 并不是人人都觉得这样别扭 —— 至少我不觉得别扭。
    dndx
    dndx
    Jun 9, 2013
    3
    个人不喜欢短链。短链使我无法在点击前看清链接的真面目。
    sunnist
    sunnist
    OP
    Jun 9, 2013
    4
    @paloalto 恩,个人倾向不同,还是要考虑一下大多数人。
    DXpro
    DXpro
    Jun 9, 2013
    5
    不喜欢短链 投一票。
    sunnist
    sunnist
    OP
    Jun 9, 2013
    6
    @dndx 如果有人没节操的发垃圾链接,请果断拉黑吧。
    MASAILA
    MASAILA
    Jun 9, 2013
    7
    我也不喜欢短链
    cdfmr
    cdfmr
    Jun 9, 2013
    8
    @dndx +1
    foru17
    foru17
    Jun 9, 2013
    9
    短链接的产生和流行跟twitter微博这种140字限制有关,V2EX没这些限制,没有必要
    直接看原链接,有几个好处
    1.判断网站来源,比如说楼上的 google.com weibo.com ,省得是钓鱼病毒网站什么的麻烦
    2.读url中的信息(半个标题)
    Livid
    Livid
    MOD
    PRO
    Jun 9, 2013❤️1
    10
    1. 短链接非常危险。

    2. 完整而真实的 URL 可以帮助大家决定到底要不要点。
    sunnist
    sunnist
    OP
    Jun 9, 2013
    11
    @foru17 如上图的那种原链接非常长也比较多的情况下,个人觉得短链可能会使页面更整洁一些,当然这种情况比较少。
    我想短链可否做到移上去就弹出原链接的效果,这样兼顾页面和安全性。
    ushuz
    ushuz
    Jun 9, 2013
    12
    同不喜欢短链。也就只有微博由于字数限制才适合用短链。
    sunnist
    sunnist
    OP
    Jun 9, 2013
    13
    @Livid 恩,我只是单纯从页面的角度觉得短链比较整洁,反倒是没考虑安全性的问题,受教!
    kuphrer
    kuphrer
    Jun 9, 2013❤️1
    14
    连省略式链接都极其憎恶的人飘过
    sunnist
    sunnist
    OP
    Jun 9, 2013
    15
    @kuphrer 哈哈,看来么多人都是支持原链接啊~
    alexrezit
    alexrezit
    Jun 9, 2013
    16
    讨厌短链接.
    wywh
    wywh
    Jun 9, 2013
    17
    http://llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogochuchaf.com/
    看到这个楼主是不是会把我拉黑,哈哈
    Choutreeman
    Choutreeman
    Jun 9, 2013
    18
    太危险
    Perry
    Perry
    Jun 9, 2013
    19
    感觉和为什么评论不用markdown或可视化编辑器的原因差不多,因为可以伪造链接来实现phishing。。。
    JoyNeop
    JoyNeop
    Jun 9, 2013
    20
    Cons
    LokiSharp
    LokiSharp
    Jun 9, 2013
    21
    我觉得短链更加别扭
    cegle
    cegle
    Jun 9, 2013
    22
    短链别扭,还是原链直观,放心
    恩,就这样
    xmbaozi
    xmbaozi
    Jun 9, 2013 via Android❤️1
    23
    同样不喜欢短链
    根据以上楼层,lz是少数人。。
    xatest
    xatest
    Jun 10, 2013 via iPhone
    24
    短链一旦失效,通向原链的路就堵死了,这是单点风险〜
    lyric
    lyric
    Jun 10, 2013
    25
    @sunnist 图片打不开
    taresky
    taresky
    Jun 10, 2013 via iPhone
    26
    谁要非得打开后才知道是什么啊……麻烦
    Kaiyuan
    Kaiyuan
    Jun 10, 2013 via iPhone
    27
    默认时候只显示 URL 的部分, hover 时候再显示完整 URL,这样会不会好些?
    sunnist
    sunnist
    OP
    Jun 10, 2013 via iPhone
    28
    @xmbaozi 只是单纯受不了链接太长太多造成的页面不干净:P
    sunnist
    sunnist
    OP
    Jun 10, 2013 via iPhone
    29
    @lyric 一楼是图片啊 我这里可以看见,网络问题吧。
    sunnist
    sunnist
    OP
    Jun 10, 2013 via iPhone
    30
    @Kaiyuan 现在微博是这么处理的,twitter我没注意看。
    weiceng
    weiceng
    Jun 10, 2013 via Android
    31
    如果有强迫症,也可以自己短链嘛
    myang
    myang
    Jun 10, 2013
    32
    短链不是一般的难看啊。这个莫非和网龄有关……
    Kaiyuan
    Kaiyuan
    Jun 10, 2013❤️1
    33
    @sunnist Twitter 是显示原始 URL 的部分,然后 a 标签加上一个 title 显示完整连接。
    类似这种效果

    <a href="http://img1.ph.126.net/9MTreZb3e9R9LeFjIP31-A==/1955969613262497484.jpg" rel="nofollow noopener" title="http://img1.ph.126.net/9MTreZb3e9R9LeFjIP31-A==/1955969613262497484.jpg">http://img1.ph.126.net/9MTreZb3e9R9LeFjIP31-A==/1955969613262497484.jpg</a>
    <style>
    #Main .topic_content a {
    max-width: 120px;
    text-decoration: none;
    outline:none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    }
    </style>
    Kaiyuan
    Kaiyuan
    Jun 10, 2013❤️1
    34
    其实可以在设置里面自定义 css 添加下面代码。
    #Main .topic_content a, .reply_content a {
    max-width: 240px;
    text-decoration: none;
    outline: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    }
    这样连接就会自动缩短,鼠标停留在连接时候浏览器底部状态栏会显示完整 URL。
    LokiSharp
    LokiSharp
    Jun 10, 2013
    35
    @wywh 我很好奇这个域名多少钱。。。
    Kaiyuan
    Kaiyuan
    Jun 10, 2013
    36
    选择器改成
    #Main .topic_content a[rel="nofollow noopener"], .reply_content a[rel="nofollow noopener"]
    这样就不会把图片也缩小了。
    aurorax
    aurorax
    Jun 11, 2013
    37
    @dndx 同意~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2371 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 126ms · UTC 04:50 · PVG 12:50 · LAX 20:50 · JFK 23:50
    ♥ Do have faith in what you're doing.