中文禁用右键功能
parent
a4d7590f0d
commit
d20ebbe2b3
|
@ -42,3 +42,13 @@
|
|||
</div>
|
||||
|
||||
<div class="foot-statistics-code" style="display: none;">{$system['statistics']??''}</div>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
// 添加一个事件监听器到整个文档上
|
||||
document.addEventListener('contextmenu', function(event) {
|
||||
// 阻止默认的上下文菜单出现
|
||||
event.preventDefault();
|
||||
});
|
||||
})
|
||||
</script>
|
Loading…
Reference in New Issue