html{
-o-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
}
p,a,h1,h2,h3,h4,h5,h6,div,br,li,td,article{
-o-user-select: text;
-moz-user-select: text;
-webkit-user-select: text;
user-select: text;
}
Первый блок отключает выбор в html, второй повторно включает его для любого элемента, который может содержать текст, начиная с HTML5.Это довольно большой, но минимизированный , он меньше:
html{-moz-user-select:none;-o-user-select:none;-webkit-user-select:none;user-select:none}p,a,h1,h2,h3,h4,h5,h6,div,br,li,td,article{-moz-user-select:text;-o-user-select:text;-webkit-user-select:text;user-select:text}