kuuhana
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Programming@programming.devbymesa@piefed.social
9 months

Just Let Me Select Text

aartaka.me English

I found the https://jeffhuang.com/designed_to_last/ also good. Wondering what can auto-create the different formats for long form blog posts?

13
    You must log in or register to comment.

    • m_‮f@discuss.onlineEnglish
      9 months

      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.orgEnglish
          9 months

          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.xyzEnglish
              9 months

              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.orgEnglish
                  9 months

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

                  • Stillwater@sh.itjust.works
                    9 months

                    It’s just running some JavaScript code on the page

                    • bluespin@lemmy.worldEnglish
                      9 months

                      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

                  • mesa@piefed.socialEnglish
                    9 months

                    I think its part of the joke ;)

                  • wischi@programming.dev
                    9 months

                    I can’t select the text on this article (mobile). I’m not sure if that’s on purpose or just ironic?

                      • chaospatterns@lemmy.worldEnglish
                        9 months

                        That would appear to be intentional. If you go to any other page user select works fine

                          • wischi@programming.dev
                            9 months

                            Thanks for pointing that out, haven’t tried that.

                        • mesa@piefed.socialEnglish
                          9 months

                          Hes also done some crazy stuff: https://aartaka.me/this-post-is-ed.html

                          • setsubyou@lemmy.world
                            9 months

                            I have to do a bunch of relatively unsurmountable steps to do what should’ve taken half a minute. Like screenshot the profile and scrape the text with iOS Photos text recognition.

                            The iOS workaround isn’t quite as unsurmountable as you don’t have to go through the Photos app at all. You can enter text selection mode directly from the screenshot without even saving it or leaving the app you’re in. And since iOS will look up any word you can select in the system dictionary and also translate any text you can select, you can do these things right there too.

                            That said I did once make a shortcut that lets me triple tap the back of my phone to pop up a text version of everything on screen that the iOS OCR detects. Not sure what I did that for though, I don’t really use it.

                            • Ŝan • 𐑖ƨɤ@piefed.zipEnglish
                              9 months

                              Most of it’s good, and I agree. He’s advocating switching everyþing to webp instead of jxl or sticking wiþ png, which is pure Google narrative and not constructive.

                              Programming@programming.dev

                              programming@programming.dev

                              Subscribe from remote instance

                              Create post

                              Report community

                              Modlog
                              You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

                              Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

                              Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

                              Hope you enjoy the instance!

                              Rules

                              Rules

                              • Follow the programming.dev instance rules
                              • Keep content related to programming in some way
                              • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

                              Wormhole

                              Follow the wormhole through a path of communities !webdev@programming.dev



                              Visibility: Public

                              This community is visible to everyone.

                              • 143 users / Day
                              • 157 users / Week
                              • 158 users / Month
                              • 7.07K users / 6 months
                              • 3.16K posts
                              • 46.1K comments
                              • 1 local subscriber
                              • 27.4K subscribers
                              • UI: 1.0.0-beta.0
                              • BE: 1.0.0-alpha.20
                              • Modlog
                              • Instances
                              • Docs
                              • Code
                              • join-lemmy.org