Javascript

Using javascript for evil instead of good

24 September, 2008 - 22:13

I take it personally when a website does what the site in the screenshot below does. When ctrl+w'ing to close the tab, it:

  1. blocked me from closing the tab (or doing anything else in my browser), and
  2. presented me with a message in a popup window saying, "Sorry, you do not have permission to press this key.". Huh??

It does this when one presses either shift or control though one can bypass this by clicking in the browser's address bar so that the focus is not on the web page itself.

As web developers and designers it really is our job and our responsibility to build sites that are as comfortable for a user to use as possible. I hope that Verizone gets with the program and realizes that their message is not going to stop people from copying anything on the site (not that I'd ever want to).

Syndicate content