When I wrote my previous post about disabling the copy paste with jQuery, I thought may be its going to be a good idea to just build a plugin for WordPress too.
So I just did that and its available from wordpress
Its called jcwp copy paste blocker
Above screenshot shows the options that can be configured
Below is a screenshot that shows it in use. Most of the stuff is silently done, it just when you enable Alert this happens
- Disable content selection:
- CSS disable text selection
Styles below are added to the document to disable text selection.
[geshi lang=”css” nums=”1″ target=”_self” ]
- Keyboard events
You can disable keyboard events such as ctrl+save and ctrl+select all
- Disable right mouse click
You can disable context menu as well
- Protection level
You can choose if you would like to protect the pages, posts, homepage or everything
Just as you see in the screenshot above
- Alert message
Custom alert message
- Powered by link
Enable it to show your support
- Upload unzipped plugin directory to the /wp-content/plugins/ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Use the Plugin Options on left menu under Settings > JCWP copy paste blocker.
Plugin has been tested on wordpress version 3.4.1 but it should work on wordpress version 2.8 onwards without any problems
Plugin has been tested on
Opera has not been tested on so I am not sure if that matters given the market share.
Wanna support me?
No one cares, but its worth asking.
Use comments to report a bug, Please mention your environment e.g. Browser type, version etc.
I hope that this plugin is something that you are looking for. Just in case you have a feature request don’t forget leave your comments