The format of the copied text has disappeared (I have been studying at home all morning, asking for advice on this question)

A good friend of mine asked me to copy a piece of article, which I thought was a very simple thing at first. Save the page locally or view the source code directly.
but this method will remove the content format style of the article. So began to study and grope, a morning passed and finally failed to find an answer. Ask Daniel for advice

the following is the link to the address of the article:
http://weekly.caixin.com/2018.

after querying the css file, I did not find {- moz-user-select:none;-webkit-user-select:none} related information

I looked up the js code and set $("*"). On ("", "); of all elements, but it still didn"t work.

 oncontextmenu="return true" 
 ondragstart="return true" 
 onselectstart ="return true" 
 onselect="" 
 oncopy="" 
 onbeforecopy="return true" 
 onmouseup="" 
Mar.18,2021

document.oncontextmenu=new Function('event.returnValue=true;'); //, 
document.onselectstart=new Function('event.returnValue=true;');//

if you want to disable changing true to false, you can


document.oncopy = 1;
Thank you for the answer, you need to add a method

Menu