//Block the right mouse button
document.oncontextmenu=new Function("event.returnValue=false");
//Block the left mouse button selection
// document.onselectstart=new Function("event.returnValue=false");
Generally, just block the right button
Put it
in $(document).ready(function(){
}
, it can be executed as long as
js block the right mouse button
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326120149&siteId=291194637
Recommended
Ranking