The argue why nosotros usage this characteristic inwards our blogger blogs is to avoid plagiarism equally both of the entities that create got same content may larn penalized. As a argue nosotros block people from copying our content past times disabling the highlighting characteristic inwards whatever browser afterward loading our page to discourage those who create got visited to re-create in addition to glue our content to their websites. You tin forcefulness out usage the tool in addition to let for certain areas inwards your Blogspot blogger weblog to back upwardly text alternative such equally the blockquote. Follow the below steps to become through the adding of the javascript or CSS inwards your blogger blog.
How To Disable Text Highlighting Selection In Blogger With CSS.
To disable the blogger post service from supporting highlighting, add together the below code equally instructed.- Login to blogger.
- Navigate to subject correct sidebar options.
- Click on Edit HTML.
- Click anywhere inwards the code in addition to press Ctrl+F
- When the search dialogue appears, notice the code - ]]></b:skin> .
- ABOVE the inwards a higher house code, glue your CSS below.
body {-webkit-user-select: none; -moz-user-select: -moz-none; -ms-user-select: none; user-select: none;}When y'all add together the inwards a higher house code inwards your CSS component subdivision in addition to save, aught volition locomote able to locomote selected inwards your blogger posts. In instance y'all desire people to re-create whatever information inwards your posts, they volition non locomote able to. If y'all rank people code in addition to y'all would similar them to re-create them, thus usage the below CSS instead.
Disble Text Selection Excluding Blockquote in addition to Codes In Blogger.
The CSS below volition let users to re-create the content inwards the blockquote or inwards code form. That's for people who render code details to weblog visitors. Copy the below CSS in addition to usage the same physical care for equally the ane used inwards the kickoff example.body {That's all y'all need, usage the code above, salvage changes in addition to charge your website in addition to endeavor to come across if whatever text volition locomote selected. If it doesn't select, thus y'all are skillful to become in addition to your blogger users volition locomote condom from plagiarism. If y'all would similar to usage the javascript code instead, follow the below steps.
-webkit-touch-callout: none;
-khtml-user-select: none;
-moz-user-select: -moz-none;
-ms-user-select: none;
user-select: none;
-webkit-user-select: none;}
blockquote {-webkit-touch-callout: text; Except Blockqoute-khtml-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
-webkit-user-select: text;}
.post code {-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;}
How To Disable Text Highlighting Selection In Blogger With Javascript.
The blogger javascript code to disable text highlighting is equally attached below. o usage it inwards your blogger blog, follow the below steps.- Loggin to blogger.com
- Click on Layout.
- Then click on Add a Gadget.
- Choose HTML/javascript Option in addition to add together the below javascript code.
<script type="text/javascript">That's all. When y'all usage the javascript version of the code, everything volition locomote protected in addition to aught tin forcefulness out locomote highlighted. This is the best ane if y'all don't desire to anything to locomote copied from your post service or blogger blog. I promise y'all liked the tardily tutorial. If y'all flora whatever difficulty, locomote for certain to contact me equally soon.
//form tags to omit inwards NS6+:
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
business office disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
render false
}
business office reEnable(){
render true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
</script>
0 komentar:
Please comment if there are any that need to be asked.