Home > Web Front-end > JS Tutorial > body text

Simple code to disable left and right mouse button functions on web pages_javascript skills

WBOY
Release: 2016-05-16 17:31:32
Original
1324 people have browsed it

A simple code to disable the left and right mouse button functions on a web page. I found this code online before, and the trial effect was good. I put it here for backup. I think this can be regarded as one of the commonly used codes. Of course, you can definitely use the mouse when viewing the source code, but sometimes it doesn't have to be so complicated and powerful, and there are more codes in the source code than text.

Simple code to disable left and right mouse button functions on web pages
[Ctrl A select all Note: If you need to introduce external Js, you need to refresh to execute
]
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!