diff options
author | Minteck <contact@minteck.org> | 2022-05-18 18:50:12 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-05-18 18:50:12 +0200 |
commit | 0bd45cb2cae3af05adaad3f38d129bb67c3e0ec0 (patch) | |
tree | 97a7e15187fe7fcb5b8775e03a62f62ac8fc5c61 /kartik/views/script/credits_technical.js | |
parent | d4805039b8ea7b30f5e78cf53caf8fd3f267256a (diff) | |
download | arcade-trunk.tar.gz arcade-trunk.tar.bz2 arcade-trunk.zip |
Diffstat (limited to 'kartik/views/script/credits_technical.js')
-rwxr-xr-x | kartik/views/script/credits_technical.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/kartik/views/script/credits_technical.js b/kartik/views/script/credits_technical.js new file mode 100755 index 0000000..fda1998 --- /dev/null +++ b/kartik/views/script/credits_technical.js @@ -0,0 +1,12 @@ +document.write("Kartik: A New Start"); +document.write(" on " + navigator.userAgent + "<br>") +if (navigator.hardwareConcurrency > 1 || navigator.hardwareConcurrency === 0) { + document.write(navigator.hardwareConcurrency + " processors, "); +} else { + document.write(navigator.hardwareConcurrency + " processor, "); +} +if (navigator.maxTouchPoints > 1 || navigator.maxTouchPoints === 0) { + document.write(navigator.maxTouchPoints + " touch points<br>"); +} else { + document.write(navigator.maxTouchPoints + " touch point<br>"); +}
\ No newline at end of file |