diff options
author | Minteck <nekostarfan@gmail.com> | 2021-06-07 18:10:05 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-06-07 18:10:05 +0200 |
commit | 634dc4c860993963e6f5f9847eaf1ddc5f213ec3 (patch) | |
tree | d5e4be61e7cc5aa54310724b6fff4b6e24fdc5c1 | |
parent | ba7cd4308d21505455fdc522403e1158c8253d7f (diff) | |
download | kartik-client-634dc4c860993963e6f5f9847eaf1ddc5f213ec3.tar.gz kartik-client-634dc4c860993963e6f5f9847eaf1ddc5f213ec3.tar.bz2 kartik-client-634dc4c860993963e6f5f9847eaf1ddc5f213ec3.zip |
Commit
-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%;"> |