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

WBOY
Release: 2016-05-16 17:53:21
Original
1892 people have browsed it

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>




Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template