diff options
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | views/load.html | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/package.json b/package.json index b4a873b..7056680 100644 --- a/package.json +++ b/package.json @@ -1 +1 @@ -{"name":"kartik","version":"b2acaf4","channel":"git","description":"A multiplatform 2D karting game","main":"app.js","dependencies":{"@electron/remote":"^1.0.4","discord-rpc":"^3.2.0","electron":"^12.0.1","ini":"^1.3.8","jquery":"^3.6.0","os-locale":"^5.0.0","uuid":"^8.3.2","yaml":"^1.10.2"},"scripts":{"test":"node_modules\\electron\\dist\\electron.exe app.js"},"author":"Minteck Projects","license":"UNLICENSED","serial":"XXX99999999999"}
\ No newline at end of file +{"name":"kartik","version":"ba7cd43","channel":"git","description":"A multiplatform 2D karting game","main":"app.js","dependencies":{"@electron/remote":"^1.0.4","discord-rpc":"^3.2.0","electron":"^12.0.1","ini":"^1.3.8","jquery":"^3.6.0","os-locale":"^5.0.0","uuid":"^8.3.2","yaml":"^1.10.2"},"scripts":{"test":"node_modules\\electron\\dist\\electron.exe app.js"},"author":"Minteck Projects","license":"UNLICENSED","serial":"XXX99999999999"}
\ No newline at end of file diff --git a/views/load.html b/views/load.html index b4fe8c2..d19b8b7 100644 --- a/views/load.html +++ b/views/load.html @@ -22,6 +22,14 @@ } </style> + <script> + document.addEventListener('keydown', function(e) { + if (e.key === "F1" || e.key === "F10" || e.key === "F11") { // F11/F1/F10 + e.preventDefault(); + return false; + } + }) + </script> </head> <body style="overflow:hidden;margin:0;padding:0;background-color:#4b4e50;"> <img src="splash.png" style="width:100%;"> |