There are quite a few scripts out there for checking whether the Caps Lock key is on. However, the top searches for a helpful JavaScript function turn up a lot of dated, obsolete code that usually doesn’t work or uses techniques that are frowned upon, such as obtrusive JavaScript.

In this article I will show you a modern, unobtrusive, cross-browser way of detecting Caps Lock. See the script

It has been over 14 years since this piece of junk hit the internet, thanks to Internet Explorer (version 4). Many newer designers and developers have probably never encountered this JavaScript selector, but will no doubt pop up eventually. Learn the proper usage

There’s a lot of syntax to remember when dealing with JS events, so I figured it would be a good idea to compile a reference list that covers all types of events and the proper syntax to use them. See the examples.

Here you will find a list of the most common user agents. This directory include the user agents for both popular web browsers and various robots. These robots include search engine spiders and content fetchers like the Facebook share bot. Quick Reference