What happened when the p tag on the page couldn't copy the content?

how the contents of the p tag on the self-written page can not be selected and copied, and did not do the relevant processing, ask for a great answer

Mar.22,2021

css setting:-webkit-user-select:none, the page content can not be selected, of course, js should also be able to control whether the check has related code.


try the reactions of different browsers


see if there is this user-select:none;


on the page.

p {
-webkit-user-select:text;

-moz-user-select:text;
-ms-user-select:text;
user-select:text;

}
just add this paragraph

Menu