Shareittips.com

Computer & IT Tips By Akash Padhiyar

You must have seen on this blog that nor you can the select text neither you can right click. This is because of a wordpress plugin. The main purpose of disabling text selection and right click is to avoid getting the content of your copied.

Disable Right Click

Disable text selection and right click in wordpress:
  • Extract it using winrar or winzip.
  • Upload wp-copyprotect.php to the /wp-content/plugins/directory.
  • Activate the plugin through the ‘Plugins’ menu in wordpress.
  • Go to Settings and then WP-CopyProtect to configure.

Disable text selection and right click using Javascript:

  • If you are not using wordpress, you  can still disable text selection and right click  by a simple javascript code.
  • Just copy the code from the link given below and paste in the head section of your html code (Between <head> and </head> tags).

Note: I personally don’t like websites or blogs with right click and text selection disabled. Read the disadvantages of disabling text selection and right click.

Akash Shastri

A 20 year old blogger, developer and artifical intelligence expert. I love to explore new technology especially related with human-computer interaction.

More Posts - Website - Twitter - Facebook

Share
Categories: Web-Developing

Leave a Reply


Google Search

Popular Posts

bigrock-promocode

Bigrock Hosting Prom

Bigrock Hosting PromoCode October 2016 HOSTING FEST! Flat 40% Off! Festivities ...

bigrock-promocode

DotCom Domain Name a

DotCom Domain Name at Rs.99 Bigrock .Com Promocode end date for ...

Web Designer vs Web

This Infographic explain you what is role of Web Designer and ...

Sponsors