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

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-1e9f604-1a51.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-1e9f604-1a51.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?