...
大前端

css、js实现网页内容禁止选中,禁止网页选择文字

CSS

*{
    moz-user-select: -moz-none;
    -moz-user-select: none;
    -o-user-select:none;
    -khtml-user-select:none;
    -webkit-user-select:none;
    -ms-user-select:none;
    user-select:none;
}

通过body标签

<body oncontextmenu="return false;" onselectstart="return false">
//前面一句是禁止右键,后面一句是禁止复制。

通过js

//禁止页面选择以及鼠标右键
document.oncontextmenu=function(){return false;}; 
document.onselectstart=function(){return false;};
jQuery无缝滚动插件liMarquee js-实现文字滚动JQuery插件 marquee.js Marquee标签的jquery替代
biu biu biu
nginx 80端口重定向到443端口配置 分享一个开源在线工具箱“toolbox“,快速搭建一个自己的在线工具箱 电视盒子,机顶盒刷ubuntu系统,华为悦盒ec6108v9c、hi3798刷Ubuntu系统Nas系统 frp搭建免费的内网穿透 分享几个免费的内网穿透解决方案