[rz] NoDrag NoSelect *** UPD 2017-Jan-22 ***

This section contains extensions that were created by [rz] who has sadly passed away.
These extensions are no longer available, but the discussions may still be helpful for some users.
Forum rules
*** IMPORTANT INFO REGARDING [RZ] EXTENSIONS ***

This section contains extensions that were created by [rz] who has sadly passed away.
These extensions are no longer available or supported, but the discussions may still be helpful for some users.
Locked
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

[rz] NoDrag NoSelect *** UPD 2017-Jan-22 ***

Post by [RZ] »

[rz] NoDrag NoSelect v1.1

This extension smartly disables right-click, images-dragging and text-selection in your web page preserving all the normal features of entry boxes for an easy editing and data entry.
Cross-browser, cross-platform and backward compatible.

DEMO

HTML 4.01 Transitional
W3C compliant


* New in version 1.1

- Disable most common shortcuts.
- Minor code tweaks.


How to use?

1. Build your project as you usually do.
2. Drag and drop the extension in every page that you want to disable right-click and images/texts dragging and selection.


With this extension you do:

- Disable images dragging.
- Disable text selection.
- Disable right click.
- Entry boxes like <input> and <textarea> preserve their normal behavior for easy editing.
- Unobtrusive: does not interfere in other processes that rely on drag events.

With this extension you cannot do:

- Prevent users from copy your published information with other methods.
- Prevent users from copy your images with other methods (such as debuggers and developers tools).
- This extension is not a security shield.

Enjoy!
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

Re: [rz] NoDrag NoSelect *** UPD 2017-Jan-22 ***

Post by [RZ] »

* New in version 1.1

- Disable most common shortcuts.
- Minor code tweaks.
Locked