3 ms·
It would also be labor saving and booboo preventing if copying formatted text with elided URLs like "https://bla.com/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla
by DonHopkins 6y ago
It would also be labor saving and booboo preventing if copying formatted text with elided URLs like "https://bla.com/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla" https://bla.com/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/bla/... from postings would copy the full URLs, instead of the elided URLs shown in the text.
Is there some magic way to do that with CSS, replacing the "..." with the rest of the URL when you copy it? (There should be!)
- frosted-flakes 6y agoCSS can do that with the "text-overflow: ellipsis" property, but only for fixed-width elements, so it wouldn't really work for links.[1] Note that if you click the timestamp on the comment, links don't get shortened. [1] https://css-tricks.com/snippets/css/truncate-string-with-ellipsis/ https://css-tricks.com/snippets/css/truncate-string-with-ell...