A good method. Although I have collected it before, I always forget it. I must remember this method of revealing the secret.
Ghost Note: The second method has been mentioned here before.
1. Source pst
document.write = window.alert;
eval = window.alert;
Add these two lines in front of the encryption code, then execute it. After the message pops up, ctrl+c.
2.Author: zzzevazzz
In the address bar or press Ctrl+O, enter:
javascript:s=document.documentElement.outerHTML;document.write(<body></body>);document.body.innerText=s;
The source code is out. No matter how complicated the encryption is, it must eventually be restored to HTML code that the browser can parse, and documentElement.outerHTML is the final result.