Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
TRENDING TODAY
Home > News > Webmaster > Web Blog

October 15th, 2012, 16:00 GMT · By Catalin Cimpanu

BLOG

Script of the Day: Keypress

SHARE:

Adjust text size:


Detecting keypresses via a Web page Enlarge picture - Detecting keypresses via a Web page
Keypress will sniff key presses on a page and trigger various events or actions. For the amount of features it supports, its size is incredibly low.

The library can be used in many ways. For online browser games, to enhance a site's navigation system, for online PowerPoint-like business presentations, in traffic analysis scripts and many other more.

Just to list some of the incredible things it can do: bind actions to any key press, work with key down or key up events, count what and how many times a key has been pressed, assemble keyboard combos, enforce a key press order and provide support for multiple keys being pressed at the same time.

In the end, we can say it's a pretty nifty tool, since the Web revolves so much around the concept of interaction.

Check out the Keypress source code on GitHub.


Download Keypress from our Scripts section here.

TELL US WHAT YOU THINK:

867 hits · Link to this article · Print article · Send to friend · Subscribe to news

MUST-READ RELATED ARTICLES:


Script of the Day: jCryption

Script of the Day: Leaflet

Script of the Day: HubSearch

Script of the Day: Info-Box.js

Script of the Day: TerrificJS

READER COMMENTS:



No user comments yet.
Be the first to express your opinion!
Copyright © 2001-2013 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM