document.addEventListener('DOMContentLoaded', function() {
    // 禁用右键菜单
    document.addEventListener('contextmenu', function(e) {
        e.preventDefault();
    });
    
    // 禁用文本选择
    document.styleSheets[0].addRule('body', '-webkit-user-select: none!important;');
    document.styleSheets[0].addRule('body', '-moz-user-select: none!important;');
    document.styleSheets[0].addRule('body', '-ms-user-select: none!important;');
    document.styleSheets[0].addRule('body', 'user-select: none!important;');
    
    // 禁用拖拽
    document.addEventListener('dragstart', function(e) {
        e.preventDefault();
    });
});