How To Disabling Writings Selection And Right Click To Blogger

How To Disabling Writings Selection And Right Click To Blogger
Bismillaahirrahmaanirrahiim
Assalaamu'alaikum Wr Wb!

Growing our contemporary technologies and facilitate a particular job for the users, especially the IT. Whatever it is unwise without due diligence of yourself, sometimes technology is used by humans spoiled and lazy, yes g only want versatile instant. People nowadays just see only technological advances, but these technologies is the result of hard work and efforts of the scientists. Users only know and accept the wrong course, to not appreciate the efforts and the hard work of others.

Because of the technology is misused by people who are not responsible, then the technology will also educate them to be able to appreciate the invention or the work of others and also be able to own inventive.
This time I will share a tutorial that hard-earned and hard work you valuable and appreciated, that article that you pour into a blog post so do not be copied at will by visitors without your consent. You also will give a lesson to travelers who prefer the hard copy of your article, I think it is a wise move and educate. While it if you install the following JavaScript, not as many visitors your blog before you install this JavaScript, or visitors to your web site or blog will be reduced. In the sense of quiet visitors who are lazy and smart people will visitors.

JavaScript that I share now is to disable JavaScript script selection and right-click to disable JavaScript, which can be installed individually or separately and can also be combined according to your needs on your website or blog. Its also very easy to install, you can install and remove your liking as I proceed with the heading so you can easily find on your blog template later.
If you believe, let into the tutorial⇨

Login to Blogger> Template> Edit HTML and JavaScript is put below / after the <head> tags or above / before the </head> tags⇩

➤JavaScript to disable the selection of writing⇩
<!-- Disable Writing Selection By www.BloggerDiscreet.com Starts -->
<script type="text/javascript">
function disableSelection(e){if(typeof e.onselectstart!="undefined")e.onselectstart=function(){return false};else if(typeof e.style.MozUserSelect!="undefined")e.style.MozUserSelect="none";else e.onmousedown=function(){return false};e.style.cursor="default"}window.onload=function(){disableSelection(document.body)}
</script>
<!-- Disable Writing Selection By www.BloggerDiscreet.com Ends -->

➤JavaScript to disable right click⇩
<!-- Disable Right Click By www.BloggerDiscreet.com Starts -->
<script type="text/javascript">
function mousedwn(e){try{if(event.button==2||event.button==3)return false}catch(e){if(e.which==3)return false}}document.oncontextmenu=function(){return false};document.ondragstart=function(){return false};document.onmousedown=mousedwn
</script>
<!-- Disable Right Click By www.BloggerDiscreet.com Ends -->

Alhamdulillaah, tutorial is ready.

Note
If you have any questions, please your ask Admin via comment!
Thank You.

Share
Feel free to share this article with your friends on social media, so that they too can benefit from this article!

Alhamdulillaah
Inshaa Allaah, hope my article can help you all!
Wallaahu'alam
Wassalaamu'alaikum Wr Wb!
Previous
Next Post »

Please Your Comment With Good Manners And Discreet ConversionConversion EmoticonEmoticon