Blogger Tutorials

How To Make Text Of Blog Posts Unselectable

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!!!

Article written by:

Satyendra is a Biotechnologist from the city of Nawabs, Lucknow. Apart from blogging, his other interests are Indian rap knowledge, affiliate marketing, poetry, and basically anything nerdy.

Join the discussion

  1. Unknown

    This comment has been removed by a blog administrator.

  2. Superseo62

    thank you for a super allocation. Your article has proved your difficult produce an impact and experience you've got were given on this showground. top notch .i be ashore on it studying. vaporwave text generator

  3. Superseo62

    Took me duration to gate all the clarification, however I in reality enjoyed the article. It proved to be Very yielding to me and i'm determined to all the commenters here! Its always available via now you cannot unmarried-handedly be knowledgeable, but with entertained! https://www.vaporwavetext.online/

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

back to top