-
Notifications
You must be signed in to change notification settings - Fork 0
/
key.html
53 lines (50 loc) · 1.69 KB
/
key.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<script type="text/javascript">
// jQuery(function($){
// var dynamicLoading = {
// css: function(path){
// if(!path || path.length === 0){
// throw new Error('argument "path" is required !');
// }
// var head = document.getElementsByTagName('head')[0];
// var link = document.createElement('link');
// link.href = path;
// link.rel = 'stylesheet';
// link.type = 'text/css';
// head.appendChild(link);
// },
// js: function(path){
// if(!path || path.length === 0){
// throw new Error('argument "path" is required !');
// }
// var head = document.getElementsByTagName('head')[0];
// var script = document.createElement('script');
// script.src = path;
// script.type = 'text/javascript';
// head.appendChild(script);
// }
// }
// dynamicLoading.js("js/main.js");
// setTimeout(function(){
// new main();
// },100);
// });
document.oncontextmenu = doMyThing;
document.onkeydown = function () {
return false;
}
window.onbeforeunload = function () {
return false;
}
function doMyThing() {
return false;
}
</script>
</body>
</html>