右键单击JS代码在本地工作,但不在服务器上 [英] right click JS code works locally but not on the server

查看:65
本文介绍了右键单击JS代码在本地工作,但不在服务器上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用JS代码来禁用页面上的右键单击,但是右键单击服务器上显示警报消息(无法右键单击!)需要时间才能正常工作。

意味着它允许第一次右键单击并在服务器上第二次单击时发出警报。

I have used JS code for disabling right click on page but it take time to display the alert message(cant right click!) on right clicking on the server where as works fine on localy.
means it allows right click first time and alerts on second click on the Server.

推荐答案

这篇关于右键单击JS代码在本地工作,但不在服务器上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆