Compare commits

...

2 Commits

Author SHA1 Message Date
xcw a4d7590f0d Merge branch 'main' of http://git.scdxtc.cn/milo/chaoyu 2024-12-03 15:30:34 +08:00
xcw 9ca51255a2 禁用右键功能 2024-12-03 15:30:26 +08:00
1 changed files with 11 additions and 1 deletions

View File

@ -40,3 +40,13 @@
</div>
<div class="foot-statistics-code" style="display: none;">{$system['statistics']??''}</div>
<script>
$(function() {
// 添加一个事件监听器到整个文档上
document.addEventListener('contextmenu', function(event) {
// 阻止默认的上下文菜单出现
event.preventDefault();
});
})
</script>