04 Feb

double-click deterrent

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 thoughts on “double-click deterrent

  1. 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… šŸ™

  2. 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

  3. 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.

Comments are closed.