VisualStudioCode
V2EX  ›  问与答

大众点评是如何阻止用户选中文字的?

  •  
  •   VisualStudioCode · Aug 8, 2024 · 2064 views
    This topic created in 817 days ago, the information mentioned may be changed or developed.

    比如这个帖子 https://m.dianping.com/ugcdetail/267585047?sceneType=0&bizType=29

    游标悬浮到右边的 user-select: none 上时,没有显示蓝色箭头。

    3 replies  •  2024-08-08 20:47:56 +08:00
    shakaraka
    shakaraka
    Aug 8, 2024
    1
    body 里有 user-select: none
    VisualStudioCode
    VisualStudioCode
    OP
    Aug 8, 2024
    2
    @wunonglin 我在开发者工具里把它勾掉了,但依旧不能选中文字。
    zohar727
    zohar727
    Aug 8, 2024❤️2
    3
    @VisualStudioCode #2 它在文本上叠了一层空的 div ,你鼠标选中的空 div ,选不到文本。你把那个 `feed-content-view` div 删掉就可以选中了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1407 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 21:59 · PVG 05:59 · LAX 13:59 · JFK 16:59
    ♥ Do have faith in what you're doing.