🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

selection.js is a super tiny jQuery plugin used to prevent user from selecting and copying html elements (text, images, etc) on web pages.

selection

Documentation

jQuery Selection Plugin

Another jQuery plugin. A simple, light and fast way to enable or disable the selection of elements in a web page.

Stack Share

Usage

To disable:

$('element').disableSelection();

To enable:

$('element').enableSelection();

Work with Firefox, Chrome, IE 8+, Opera and Safari.

MIT License

Read the LICENSE file included with the project.

Enjoy!


You May Also Like