All You Need To Know About Earning First $100 from Google Adsense Visit Post

How To Make Text Of Blog Posts Unselectable

Posted By : Satyendra Maurya | Last Update : 7:44 PM | Category :
THIS IS A PROTECTED(UNSELECTABLE) TEXT:

Example:
"Drawing up a action plan is the best way to get succeed in this Universal law List what you want to achieve. You must list down what you must do to get success in your goal. Clearly specify in what ways and how you are going to measure your success at each step. You must eliminate anything on the list that requires you to wait for somebody else to do before you must continue this or if you can not achieve your goals without the help of other people then select the best people possible to help you and you must listen to them when they offer some advice.When you succeed in all your goals, try to make up another list of goals and start over again. Some goals are not worth achieving. You will have to do it well to re-check your goals regularly and delete out the worthless ones."

Source:Shutterstock

Firstly, in your post write all the contents and paste picture as normally you do. No change here.While you write a post Next click on "HTML".

You have to decide whether if you want to make the whole post unselectable, or simply just a paragraph. It's up to your mind.Well,I just opted for the first paragraph in this post. To make it unselectable(protected) I simply surrounded the desired text with a "div" tag and added some simple code (shown in red below).

Important note: Once you have added this code then you will NOT be able to edit your text in the "Compose" tab,but you can change it in the "Edit HTML" tab.

Here is the code which I used:

<div ondragstart="return false;" onselectstart="return false;" style="-khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none;">
"Drawing up a action plan is the best way to get succeed in this Universal law List what you want to achieve. You must list down what you must do to get success in your goal.<b> <span class="Apple-style-span" style="color: #ff9900;"> Clearly specify in what ways and how you are going to measure your success at each step.</span></b> You must eliminate anything on the list that requires you to wait for somebody else to do before you must continue this or if you can not achieve your goals without the help of other people then select the best people possible to help you and you must listen to them when they offer some advice.When you succeed in all your goals, try to make up another list of goals and start over again. Some goals are not worth achieving. You will have to do it well to re-check your goals regularly and delete out the worthless ones."  
</div>

In this example above I just simply added the "div" tags surrounding the first paragraph(protected), but I used to surround them around the picture below as well as a text. You could use the tags surrounding the entire post to make all the text unselectable but The pictures can still be saved with a right-click. 

If you want that default cursor to be shown then just add cursor: default; to the above text code.
Hope It works for you also!!! Happy Blogging!!!

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete

Although every comment is appreciated, Keep in mind that any link or keyword in the comments may be the reason for deletion of your comment. Thanks for understanding!

#Techno Geek Network

#Proudly Hosted on Blogger


DMCA.com Protection Status

©2014-2016 Techno Geek Network | Technology and Science is What You Make It! | Designed by Satyendra