CSS setting text cannot be selected by mouse

problem description

do not allow users to select text messages with the mouse

the environmental background in which the problem occurs

  1. there are places where you need to double-click, which is easy to turn into text selection, so that the click cannot be triggered.
  2. for some copywriters, they are not willing to make it easy for users to copy (novel website)
Css
Apr.13,2022

set the CSS attribute in the block that needs to be double-clicked

  

body {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
you can choose no Chinese characters

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b380fe-2c0e9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b380fe-2c0e9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?