WebAppers

/ best free open source web resources /

Shopify

How to Drive Your Visitors Away with Annoying.js

Posted · Category: Information, MIT License

Kilian Valkhof came across a website that had a whole slew of JavaScript that attempted to prevent you from selecting text, right clicking or dragging any content onto your desktop.

So he decided to copy the JavaScript and create a library with examples of JavaScript techniques you can use if you want to scare your visitors away, or want to piss them off. Annoying.js is the result.

As you can see, you can do some pretty bad things with Annoying.js that will certainly drive your visitors away. However, some functions is actually very useful if you’re writing complex “html5″ web applications. By disabling text-selection on interface elements you can make the application easier to use, and you can re-implement the right click menu using your own options.

annoyingjs

Requirements: Javascript Enabled Browser
Demo: http://kilianvalkhof.com/2011/javascript/annoying-js…
License: MIT License

4 Comments
  • http://www.sonnydesign.com sawebdesigns

    things to avoid nice great tips

  • http://budgetvps.co Giang

    This is very useful script, i will use it in my blog to avoid copy my content :D

  • Tom

    Oh well, easiest way to do:
    Nasty little bugger. Everything works fine, but try to copy some text and it will keep you wondering what the hell is going on ;)

  • VV

    Meh, I already find it annoying how there’s no demo.

Supported By

Deals

Web Browsers Icon Set
Food Icon Set
Flat Icon Set

Flat Icon Set

100 icons