Y
Hacker News
new
|
ask
|
show
|
jobs
by
jeshin
1427 days ago
TIL about user-select:none;
That's useful, I hate copying code snippets alongside line numbers and other weirdness
2 comments
1st1
1427 days ago
We use it throughout our UI in all interactive elements. It's super annoying when, say, a button or a navigation element gets accidentally selected for no reason.
link
matheusmoreira
1427 days ago
It's great... Until people start abusing it as an ineffective copy protection mechanism.
link
jeshin
1427 days ago
people can already do that with javascript anyway
link