• m_‮f@discuss.online
    link
    fedilink
    English
    arrow-up
    19
    ·
    edit-2
    1 month ago

    Disable user-select: none; (and variants) on body to be able to select text again. I like the idea of a blog post that calls out something annoying and demonstrates the annoyance inline, though

    • GenderNeutralBro@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      19
      ·
      1 month ago

      I have a bookmarklet to enable text selection on any web page that tries to block it that way.

      Here it is for your convenience. Bookmark it and give a try on the linked blog post:

      javascript:document.styleSheets[0].insertRule("* { user-select:text !important }", 1);

      Can’t remember where I swiped that from. Probably some ancient StackOverflow thread.

      • bleistift2@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 month ago

        WTF‽ I’m a web dev for 5 years, 8 if you count university, and I’ve never heard about bookmarklets. Why would that even begin to work?

        Man, this is so amazing!