• GenderNeutralBro@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    30
    ·
    15 days 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
      12
      ·
      15 days 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!

      • TehPers@beehaw.org
        link
        fedilink
        English
        arrow-up
        11
        ·
        15 days ago

        Browsers have supported the javascript: scheme for a long time, so I guess it just abuses that.

      • bluespin@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        14 days ago

        We run one for our product and it’s been teetering on the edge of extinction for a while. Google keeps saying they’re going to kill them and going back on the decision