1 //Screen Right-click menu2Document.oncontextmenu =function(event) {3 if(window.event) {4event =window.event;5}Try {6 varThe =event.srcelement;7 if(! (The.tagname = = "INPUT" && the.type.toLowerCase () = = "text") | | the.tagname = = "TEXTAREA")) {8 return false;9 }Ten return true; One}Catch(e) { A return false; - } - } the - //Shielded Paste -Document.onpaste =function(event) { - if(window.event) { +event =window.event; -}Try { + varThe =event.srcelement; A if(! (The.tagname = = "INPUT" && the.type.toLowerCase () = = "text") | | the.tagname = = "TEXTAREA")) { at return false; - } - return true; -}Catch(e) { - return false; - } in } - to //Masking Replication +Document.oncopy =function(event) { - if(window.event) { theevent =window.event; *}Try { $ varThe =event.srcelement;Panax Notoginseng if(! (The.tagname = = "INPUT" && the.type.toLowerCase () = = "text") | | the.tagname = = "TEXTAREA")) { - return false; the } + return true; A}Catch(e) { the return false; + } - } $ $ //Shielded Cut -Document.oncut =function(event) { - if(window.event) { theevent =window.event; -}Try {Wuyi varThe =event.srcelement; the if(! (The.tagname = = "INPUT" && the.type.toLowerCase () = = "text") | | the.tagname = = "TEXTAREA")) { - return false; Wu } - return true; About}Catch(e) { $ return false; - } - } - A //Shielded Check +Document.onselectstart =function(event) { the if(window.event) { -event =window.event; $}Try { the varThe =event.srcelement; the if(! (The.tagname = = "INPUT" && the.type.toLowerCase () = = "text") | | the.tagname = = "TEXTAREA")) { the return false; the } - return true; in}Catch(e) { the return false; the } About}
JS Screen Right-click menu, copy, paste xxxxx .....