]
This paragraph is mainly used Code, Script House has published similar articles before.
The code is as follows:
function clear(){
Source=document. body.firstChild.data;
document.open();
document.close();
document.title="Cannot see source code";
document.body.innerHTML=Source;
}