The home of the Twelve Olympians… and yours too
30 Sep
I finally got it, after a few days of debugging and testing I finally have the first release of a nice and open source virtual keyboard programmed in JavaScript for your webapps wich randomly moves inside a container for each keystroke.
Get the first (and beta) release of SVK v0.01 (Secure Virtual Keyboard). Decompress the files, and load kb.htm in your favourite web browser (right now, only supporting IE6 and FF1.5, but more browsers are coming…). One more thing… I’m Spanish as well as the keyboard image; but using any other keyboard shouldn’t be too hard (next release will include a much better documentation).
I first saw a nice keyboard like this in the Grupo Santander Supernet’s login system. The truth is that this is an open source implementation of their work. I have used some of their images, so until I got an answer from them about the license of the used images I have to warn you not to use them for any commercial purpose, just academic purpose.
My implementation uses the Prototype framework, but I will release a Prototype-free version in a few days (two weeks or so). I also use CSS to load and apply some filters to the images instead of loading all diferent images with JavaScript (check their application and check mine). We both use the map HTML tag to map the different keys of the keyboard, although I don’t really use the image of the img HTML tag; I have a transparent image where I use the map, but this image is inside a div which has the real keyboard image as a background (and this is where I apply the random movement as well as the opacity filter).
Because of my obsession with object-oriented development, I have found some issues with IE (what a surprise.. eh?): creating areas for the map with the DOM core function createElement() worked but IE didn’t do nothing when clicking; so I finally used the innerHTML property (check the _createMap method, non-working code is included but commented).
There’s still a lot of work to do, check the README file, but I think my approach is a good start to get a nice virtual keyboard and also secure. I encourage you to read the LICENSE terms (GNU/GPL v2) and remember what I said about the images (it would be nice if someone did a Creative Commons keyboard)
Happy downloading, and feedback (bugs, request features, fixes for known issues,…) is welcome.
Update [30-09-2006]: Check the demo page
(Remember… only IE6 and FF1.5 are officially supported…)
Update [24-04-2008]: I’m working on a new version! And… demo page fixed (sorry for taking so long)
11 Responses for "SVK: Secure Virtual Keyboard (in JavaScript)"
[...] Interesante teclado virtual creado con Prototype, a ver, ¿que utilidad le puedes dar? [Demo][Descargar] [...]
Teclado virtual seguro en Javascript…
Mediante esta aplicación desarrollada con prototype (http://prototype.conio.net/) podemos integrar un teclado virtual en una web para evitar los posibles keyloggers instalados en los ordenadores de los usuarios. Una implementanción podemos verla en l…
Usando o Firefox 1.0.5, no windows, o teclado se mexe de um lado ao outro quando se clica, isso é normal de acontecer?Há a possíbilidade de isso não acontecer?
The class’ method which moves the keyboard is named: ‘_move()’ and it’s called in the ‘click’ method (the default case of the switch), so, you just need to to comment the line: ‘this._move();’ (type two slashes, /, at the beginning of the line), so you’ll have: ‘//this._move()’
The movement is to make the keyboard more secure in case the user has some kind of spyware which logs the clicked coordinates.
I’ll be releasing a new version of the keyboard (where you’ll be able to choose wether you want it to move or not), fixing some bugs (like the ‘undefined’ when clicking 7 or /) and some new features as well as improvements after reading some people’s reviews.
When? Give me a couple of weeks
poseidon
[...] SVK e a sigla para Secure Virtual Keyboard que é um teclado virtual escrito em JavaScript e usando a Prototype. Confira sobre ele no blog do desenvolvedor ou vá direto testá-lo. [...]
Hi,
I am looking to use your javascript for creating a keyboard for providing an easy way for creating multilingual content.
Are you planning to release a newer version in future, which can serve as better code base for me?
Appreciate your efforts on creating this javascript.
Thanks,
Gaurav
I’ve already made the truly multilingual (about 35 languages/40 layouts) keyboard. 8*)
Check article at CodeProject: http://codeproject.com/jscript/jsvk.asp
And demo page:
http://debugger.ru/demo/projects/virtualkeyboard
Feel free to contact me, if you have any questions.
-Ilya
I’ve already wrote the truly multilingual keyboard - about 35 languages/40 layouts.
It supports both mouse input and keyboard translation and has rich API to add any new layouts.
Check the article at CodeProject: http://codeproject.com/jscript/jsvk.asp
Demo: http://debugger.ru/demo/projects/virtualkeyboard
Feel free to contact be, if you have any questions.
-Ilya
Why when I click in 7 appears “undefined”? Thanks!
[...] been a long time since I released the first version of Secure Virtual Keyboard, v0.01. And it’s quite funny [...]
Great work! I can’t wait for the new version. What has been changed?
Leave a reply