73 lines
2.2 KiB
HTML
73 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="zh-CN">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
<link rel="icon" href="/favicon.ico" />
|
||
<title>规则引擎</title>
|
||
</head>
|
||
<body>
|
||
<div id="app"></div>
|
||
<script type="module" src="/src/main.ts"></script>
|
||
</body>
|
||
<!-- <script>
|
||
document.onkeydown = function(){
|
||
if(window.event && window.event.keyCode == 123) {
|
||
alert("请尊重劳动成果!");
|
||
event.keyCode=0;
|
||
event.returnValue=false;
|
||
}
|
||
if(window.event && window.event.keyCode == 13) {
|
||
window.event.keyCode = 505;
|
||
}
|
||
if(window.event && window.event.keyCode == 8) {
|
||
alert(str+"\n请使用Del键进行字符的删除操作!");
|
||
window.event.returnValue=false;
|
||
}
|
||
}
|
||
|
||
document.oncontextmenu = function (event){
|
||
if(window.event){
|
||
event = window.event;
|
||
}try{
|
||
var the = event.srcElement;
|
||
if (!((the.tagName == "INPUT" && the.type.toLowerCase() == "text") || the.tagName == "TEXTAREA")){
|
||
return false;
|
||
}
|
||
return true;
|
||
}catch (e){
|
||
return false;
|
||
}
|
||
}
|
||
|
||
document.oncopy = function (event){
|
||
if(window.event){
|
||
event = window.event;
|
||
}try{
|
||
var the = event.srcElement;
|
||
if(!((the.tagName == "INPUT" && the.type.toLowerCase() == "text") || the.tagName == "TEXTAREA")){
|
||
return false;
|
||
}
|
||
return true;
|
||
}catch (e){
|
||
return false;
|
||
}
|
||
}
|
||
|
||
document.onselectstart = function (event){
|
||
if(window.event){
|
||
event = window.event;
|
||
}try{
|
||
var the = event.srcElement;
|
||
if (!((the.tagName == "INPUT" && the.type.toLowerCase() == "text") || the.tagName == "TEXTAREA")){
|
||
return false;
|
||
}
|
||
return true;
|
||
} catch (e) {
|
||
return false;
|
||
}
|
||
}
|
||
</script>-->
|
||
</html>
|