﻿// JScript 文件

function click(e) {
  return true;
 if (document.all) {
  if (event.button==1||event.button==2||event.button==3) {
  if(event.button==2){
  document.selection.empty();
  //alert("对不起，请免费注册成为本站会员才能使用复制功能！");
  }
  document.selection.empty();
   //oncontextmenu='return false';
  }
 }
 if (document.layers) {
  if (e.which == 3) {
  //alert("对不起，请免费注册成为本站会员才能使用复制功能");
  document.selection.empty();
   //oncontextmenu='return false';
  }
 }
}
if (document.layers) {
 document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
//document.oncontextmenu = new Function("return false;")

var travel=true;
var hotkey=17;   /* hotkey即为热键的键值,是ASII码,这里99代表c键 */
if (document.layers)
document.captureEvents(Event.KEYDOWN)
function gogo(e)
{ if (document.layers) {
if (e.which==hotkey&&travel){
 document.selection.empty();
 //alert("对不起，请免费注册成为本站会员才能使用复制功能");  
 
 } }
else if (document.all){
if (event.keyCode==hotkey&&travel){ 
//alert("对不起，请免费注册成为本站会员才能使用复制功能"); 
document.selection.empty(); }}
}
document.onkeydown=gogo ;
function ss()
{
return true;
alert("对不起，请免费注册成为本站会员才能使用选择复制功能");
document.selection.empty();
//window.location.reload();
return false;
}

