外部代码引用 PC
<script type="text/javascript">
function stop(){return false;}
setTimeout(function(){
if (typeof(window._ssp_global)=="undefined" || 1==1){
document.oncontextmenu=stop;
document.onselectstart=stop;
document.onkeydown=function (e){
var currKey=0,evt=e||window.event;
currKey=evt.keyCode||evt.which||evt.charCode;
if (currKey == 123) {
alert('呵呵呵,首页不给F12');
window.event.cancelBubble = true;
window.event.returnValue = false;
}
}
}
},300)
</script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?0ab51d0e5114e81735a0576494384429";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?0ab51d0e5114e81735a0576494384429";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>