3 ms·
Hacker news isn't "fully selectable". Just try to highlight the text in the reply/update/submit buttons.
by ZYbCRq22HbJ2y7 1y ago
Hacker news isn't "fully selectable". Just try to highlight the text in the reply/update/submit buttons.
- dylan604 1y agoI can select the word "Reply" with no issues
- ZYbCRq22HbJ2y7 1y agoInside the button? Not the link? What OS/Browser?
- deleted 1y ago[deleted]
- ZYbCRq22HbJ2y7 1y agoI just tried this with every major OS and browser. I don't think it is possible. You can highlight the buttons (most times) in Safari on MacOS, but you can't select the text and copy it or translate it.
- whstl 1y agoYou can copy <button>Text</button> in some browsers, but not when it's in <input text="Text">.
- ZYbCRq22HbJ2y7 1y agoYeah, in HN's case: <input value="reply" type="submit">
- dylan604 1y agoSorry, you're correct. It was the link not the button. My brain gets confused talking to people using technical words correctly instead of normies that call the link a button
- whstl 1y agoI can select the word reply, like sibling poster said, but also the glyphs. https://imgur.com/hEDe7Vd https://imgur.com/hEDe7Vd
- ZYbCRq22HbJ2y7 1y agoYeah, I removed the "glyphs" thing from my comment, because I realized they were SVG backgrounds, not actually text, but that is a common place to use user-select: none, on elements with font faces that are symbols. I am curious what operating system you can select text from the buttons on though. I might spin up browserstack to experiment.
- whstl 1y agomacOS Safari
- ZYbCRq22HbJ2y7 1y agoYeah, I just tried to select text in the button element and translate it specifically or copy it, and it doesn't work. You can highlight it, but you aren't selecting the text. This is what is copied from the login page, you can see that the button text is missing: Login username: password: Forgot your password? Create Account username: password:
- whstl 1y agoMy fault, I didn't try to copy! I can still select, but sorry for not checking if copy is possible! From your other reply I noticed this! But yeah, HN isn't the best in this regard :) Maybe dang will one day consider changing to <button>reply</button>!
- cwillu 1y agoWorks on chrome/linux as well, but you do have to know how to drag from outside the link, or switch to caret browsing (f7)