File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ < script >
2
+ document.onkeydown = function(e) {
3
+ if ( event . keyCode == 123 ) {
4
+ return false ;
5
+ }
6
+ if(e.ctrlKey && e . keyCode == 'E' . charCodeAt ( 0 ) ) {
7
+ return false ;
8
+ }
9
+ if ( e . ctrlKey && e . shiftKey && e . keyCode == 'I' . charCodeAt ( 0 ) ) {
10
+ return false ;
11
+ }
12
+ if ( e . ctrlKey && e . shiftKey && e . keyCode == 'J' . charCodeAt ( 0 ) ) {
13
+ return false ;
14
+ }
15
+ if ( e . ctrlKey && e . keyCode == 'U' . charCodeAt ( 0 ) ) {
16
+ return false ;
17
+ }
18
+ if ( e . ctrlKey && e . keyCode == 'S' . charCodeAt ( 0 ) ) {
19
+ return false ;
20
+ }
21
+ if ( e . ctrlKey && e . keyCode == 'H' . charCodeAt ( 0 ) ) {
22
+ return false ;
23
+ }
24
+ if ( e . ctrlKey && e . keyCode == 'A' . charCodeAt ( 0 ) ) {
25
+ return false ;
26
+ }
27
+ if ( e . ctrlKey && e . keyCode == 'F' . charCodeAt ( 0 ) ) {
28
+ return false ;
29
+ }
30
+ if ( e . ctrlKey && e . keyCode == 'E' . charCodeAt ( 0 ) ) {
31
+ return false ;
32
+ }
33
+ }
34
+ </script >
You can’t perform that action at this time.
0 commit comments