How to Disable Text Selection in Blogger and WordPress

Disable Text Selection


If you want to work for yourself or want to become your own boss then start your career in Blogging using these best blogging tips for newbie bloggers.

Many bloggers started their journey as a part time blogger and now they are full time blogger. Starting blog is really easy these days because there are so many websites who offer free services and when you get good traffic to your website you can start your own .COM or top level domain.

You can also divert all your traffic to your .COM domain easily.

Most of the bloggers use WordPress as their blogging platform whereas for newbie bloggers BlogSpot is the best platform. When your blog gets popularity many content stealers starts copying your content. They simply select your whole article and images and copying them to their own blog.

Is there any way to disable text selection?

You can do it by just following few simple steps:

How to disable text selection in Blogger and WordPress?


Login into your Blogger account.


Now navigate to Layout section >> Add a Gadget

Disable Text Selection


A pop-up window will appear, Choose HTML/Java Script from the pop-up window.


Now paste following script in “Content” section to disable the text selection.

Disable Text Selection

Copy below script in notepad and paste as shown in snapshot.

<script type="text/javascript">

var dsblselect=["input", "textarea", "select"]


function disableselect(e){

if (dsblselect.indexOf(

return false }

function reEnable(){

return true }

if (typeof document.onselectstart!="undefined")

document.onselectstart=new Function ("return false")

else {


document.onmouseup=reEnable }



Click on “Save” button and you are done. for LIVE example click on below LIVE DEMO link.


The process is same for WordPress. If you have any problem in implementing this code to WordPress, please write in comment section.

You Must Read:

Get 5 Quality Backlinks from PR-9 Websites in 15 Minutes.

Get Free Blogging Tips & Technology updates in your Email !!!

Subscribe via RSS feed

The following two tabs change content below.
Anil Verma
IT Blogger Tips focus on Blogging Tips, SEO Tips, Social Media, SQL Tips, PL/SQL Tips, Oracle DBA, Linux/Unix, Latest Technology, How Tos and Technical Solutions. You can find us on Facebook | Twitter |
Find on Google+

Siteground SALE
60% OFF SiteGround WordPress Hosting – $3.95/month (Exclusive Offer !!!)