To prohibit visitors from viewing the web page source code, we must first learn how to view the source code (as an example of IE 5.0). First, right-click menu; Second, the window menu bar viewing method, that is, "View" * "Source File" mode. To completely prohibit visitors from viewing the web page source code, you must block these two ways of viewing source code.
Mask right-click menu viewing method
Now, many web pages are shielded with the following code Menu: