Home >Web Front-end >JS Tutorial >Web page source code protection (right-click, copy, save as, view source file prohibited)_javascript skills

Web page source code protection (right-click, copy, save as, view source file prohibited)_javascript skills

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-16 17:53:211943browse

1. Disable right-click menu

Copy code The code is as follows:



2. Prohibited Copy (Ctrl C)
Copy code The code is as follows:


//

3. It is forbidden to save as
in < Add code between /body>


4. Disable caching
Disable Caching uses HTML tags in the page, such as the following:
Copy the code The code is as follows:

< ;HEAD>




Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn