Kae Verens

double-click deterrent

by kae verens on Feb.04, 2009, under general, humour, javascript, web development

You know how annoying people are when they double-click on links on the Internet?

Here’s the cure – an alert on every link on your site which pops up when someone double-clicks. Needs jQuery.

  $(document).ready(function(){
    $('a').bind("dblclick",function(e){
      alert('WHAT THE HELL????\n\nNo double-clicking on the Internet!');
    });
  });

4 Comments for this entry

  • steve

    I’m with you 100% on the concept… but I would tend to favour a slightly softer message. ;-)

    alert(‘Every time you double-click a link on the Interwebs a baby kitten loses a whisker.’);

    nah that wouldn’t likely go down so well either… :-(

  • conor

    hah! good idea! it’s going on my blog…. just as soon as I write one that doesn’t need jQuery…. if I can!

  • Klas

    I followed some link to a blog post with funny comments from Ryanair. Browsing the comments I suddenly see your name. I guess not only the world, but also the interwebs is a small place.

    Klas – The CJing Swede who once lived in Dublin

  • Kae Verens

    it’s all those pipes – cramped ;-)

    nice to see you again! knew who you were as soon as I saw the comment appear.

    I haven’t juggled in a while, but have encouraged a few locals and they’re getting pretty good.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...