1var bindEvent = function(obj,ev,fun){ 2 if(obj.attachEvent){ 3 obj.attachEvent("on"+ev,fun); 4 }else{ 5 obj.addEventListener(ev,fun); 6 } 7} 8function prevent_copy(){ 9 $(document).bind("contextmenu",function(){return false;}); 10 $(document).bind("selectstart",function(){return false;}); 11 $(document).keydown(function(){return key(arguments[0])}); 12 $(function(){ 13 $('body').css('-moz-user-select','none'); 14 }); 15} 16 //°´¼üʱÌáʾ¾¯¸æ 17function key(e){ 18 var keynum; 19 if(window.event) keynum = e.keyCode;// IE 20 else if(e.which ) keynum = e.which; // Netscape/Firefox/Opera 21 if(e.ctrlKey && (keynum == 88 || keynum == 67)){ alert('·ÀÖ¹¸´ÖÆ£¡');return false;} 22} 23bindEvent(window,'load',prevent_copy);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.