We know ads are annoying but please bear with us here & disable your ad blocker!
Hello friends, all of you are welcome in today's post, through today's post, I am going to tell you how you can protect your blogger's website, and prevent it from being stolen. Just friends, you have to follow all the steps carefully on this post. So, let's start today's post.
So today we will learn how to save our blogger website from copy paste.
Hi my dear friends, today we will all know how and how to save your content from being copied and stolen in Blogger's website. Friends, this is a big problem for new bloggers, who copy our content and posts, in their website, they also copy the same and put it in their website. And they don't change anything in it, and that's why friends, the traffic we get gets different. Which has happened because of the content being copied. This affects our website in many ways.
Our blogging society, we can find it everywhere to protect it to avoid being separated because of copycats. How to stop such activities.
Here a person takes out his time and works on blogging for his article, he prepares a good article content paragraph on his behalf for his blog, but when he sees it on the Internet. What he finds, the work done by him has been published by someone else, giving his name.
Here Google and many internet agencies work very hard to protect their work from being stolen.
You people can see here, with the help of plagiarism checker, you can easily find out whether the content published on the internet is copycat, or it is original published by the publisher, here you will find this tool very useful. gonna.
This series of cat and mouse has been going on for many years in Iber world, but we cannot do anything to stop it, but there are some measures which have been taken by the publisher. Yes, by this we can save the activity of this reason and our content from being copied.
However, friends, we do not know the exact reason why people copy its source code and posts, but the programmers who are there use this feature to save the source code of their website from being copied and stolen. Let's use and also Let me then tell you how you can protect your website's source code from being stolen.
The method that I am going to tell you is very easy, to do this you just have to add the JavaScript code before the </body> tag and at the end of it you have to add the </script> tag as you like. Shown in the picture below.
/*8Anti Copy Paste Script by Tech Shreyansh*/ <script type='text/javascript'> //<![CDATA[ shortcut = { all_shortcuts: {}, add: function (a, b, c) { var d = { type: "keydown", propagate:! 1, disable_in_input:! 1, target: document, keycode:! 1 }; if (c) for (var e in d) "undefined" == typeof c [e] && (c [e] = d [e]); else c = d; d = c.target, "string" == typeof c.target && (d = document.getElementById (c.target)), a = a.toLowerCase (), e = function (d) { d = d || window.event; if (c.disable_in_input) { var e; d.target? e = d.target: d.srcElement && (e = d.srcElement), 3 == e.nodeType && (e = e.parentNode); if ("INPUT" == e.tagName || "TEXTAREA" == e.tagName) return } d.keyCode? code = d.keyCode: d.which && (code = d.which), e = String.fromCharCode (code) .toLowerCase (), 188 == code && (e = ","), 190 == code && ( e = "."); var f = a.split ("+"), g = 0, h = { "" ":" ~ ", first: "!", 2: "@", 3: "#", 4: "$", 5: "%", 6: "^", 7: "&", 8: "*", 9: "(", 0: ")", "-": "_", "=": "+", ";": ":", "'":' "', ",": "<", ".": ">", "/": "?", "\": "|" }, i = { esc: 27, escape: 27, tab: 9, space: 32, "return": 13, enter: 13, backspace: 8, scrolllock: 145, scroll_lock: 145, scroll: 145, capslock: 20, caps_lock: 20, caps: 20, numlock: 144, num_lock: 144, num: 144, pause: 19, "break": 19, insert: 45, home: 36, "delete": 46, end: 35, pageup: 33, page_up: 33, pu: 33, pagedown: 34, page_down: 34, pd: 34, left: 37, up: 38, right: 39, down: 40, f1: 112, f2: 113, f3: 114, f4: 115, f5: 116, f6: 117, f7: 118, f8: 119, f9: 120, f10: 121, f11: 122, f12: 123 }, j =! 1, l =! 1, m =! 1, n =! 1, o =! 1, p =! 1, q =! 1, r =! 1; d.ctrlKey && (n =! 0), d.shiftKey && (l =! 0), d.altKey && (p =! 0), d.metaKey && (r =! 0); for (var s = 0; k = f [s], s <f.length; s ++) "ctrl" == k || "control" == k? (g ++, m =! 0): "shift" == k? (g ++, j =! 0): "alt" == k? (g ++, o =! 0): "meta" == k? (g ++, q =! 0): 1 <k.length? i [k] == code && g ++: c.keycode? c.keycode == code && g ++: e == k? g ++: h [e] && d.shiftKey && (e = h [e], e == k && g ++); if (g == f.length && n == m && l == j && p == o && r == q && (b (d),! c.propagate)) return d.cancelBubble =! 0, d .returnValue =! 1, d.stopPropagation && (d.stopPropagation (), d.preventDefault ()),! 1 }, this.all_shortcuts [a] = { callback: e, target: d, event: c.type }, d.addEventListener? d.addEventListener (c.type, e,! 1): d.attachEvent? d.attachEvent ("on" + c.type, e): d ["on" + c.type] = e }, remove: function (a) { var a = a.toLowerCase (), b = this.all_shortcuts [a]; delete this.all_shortcuts [a]; if (b) { var a = b.event, c = b.target, b = b.callback; c.detachEvent? c.detachEvent ("on" + a, b): c.removeEventListener? c.removeEventListener (a, b,! 1): c ["on" + a] =! 1 } } }, shortcut.add ("Ctrl + U", function () { top.location.href = " xxx " }), shortcut.add ("F12", function () { top.location.href = " xxx " }), shortcut.add ("Ctrl + Shift + I", function () { top.location.href = " xxx " }), shortcut.add ("Ctrl + S", function () { top.location.href = " xxx " }), shortcut.add ("Ctrl + Shift + C", function () { top.location.href = " xxx " }); var message = "NoRightClicking"; function defeatIE () { if (document.all) { (message); return false; } } function defeatNS (e) { if (document.layers || (document.getElementById &&! document.all)) { if (e.which == 2 || e.which == 3) { (message); return false; } } } if (document.layers) { document.captureEvents (Event.MOUSEDOWN); document.onmousedown = defeatNS; } else { document.onmouseup = defeatNS; document.oncontextmenu = defeatIE; } document.oncontextmenu = new Function ("return false") //]]> </script>
Now friends, let's talk about text copying, as many codes are being copied daily and posts too, now we will put anti-text copy code in our blogger templates. With this, users will not be able to copy your contents.
Copy the code given below and add it above the ]]></b:skin> tag. As shown in the photo below.
/* Anti Copy Paste by Tech Shreyansh*/ body { display: block; -khtml-user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none; unselectable: on; } .Blog pre code { display: block; padding: 0; white-space: pre; font-family: "Fira Mono", monospace; user-select: text; -webkit-user-select: text; -khtml-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text; } .Blog code { display: block; padding: 0; white-space: pre; font-family: "Fira Mono", monospace; user-select: text; -webkit-user-select: text; -khtml-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text; } /* Anti Copy Paste by Tech Shreyansh*/
By using this code which I am giving, you can block the left mouse function on your website on your post, this is very important, because many users who are there copy our post left mouse. By dragging on the content.
With the help of Below I have given the code, and you must be seeing it in the photo, in this you have to add the code above the </head> tag.
/* Anti Copy Paste by Tech Shreyansh*/ /* Anti Copy Paste by Tech Shreyansh*/
Friends, with the help of this code, you can block the right mouse function on your blogger's website, it also functions like the right mouse, and it is very important that with the help of this, the user can right-click on our content and click on the post.
Let's copy I have given you the code of the right mouse block below, you must be seeing in the photo, all you have to do is copy the code and add it above the </body> tag.
/*Anti Copy Paste Scriptr by Tech Shreyansh*/ <script type='text/javascript'> //<![CDATA[ var message="Right Click is Disabled!"; /////////////////////////////////// function clickIE4(){ if (event.button==2){ alert(message); return false;}} function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false;}}} if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4;} else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; }document.oncontextmenu=new Function("alert(message);return false") //]]> </script> /*Anti Copy Paste Scriptr by Tech Shreyansh*/
Friends, with the help of this code, you can block shortcut buttons like Ctrl + U , Anti Viewsource, and F12 in your website. This code is going to be very useful for you, to add it, you have to add the script below the </head> tag.
/*Anti ViewSource Code Script by Tech Shreyansh*/ <script src = 'http: //ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js'/> <script type = 'text / javascript'> checkCtrl = false $ (' * '). keydown (function (e) { if (e.keyCode == ' 17 ') {checkCtrl = false}}). keyup (function (ev) { if (ev.keyCode == ' 17 ') {checkCtrl = false}}). keydown (function (event) { if (checkCtrl) { if (event.keyCode == ' 85 ') {return false; }}}) </script> /*Anti ViewSource Code Script by Tech Shreyansh*/
Notice!Whatever I have told here, it is only for information.
So, this post of ours today was about how to protect our blogger's post and source code from being stolen, I hope you guys must have liked this post of mine, if there is any problem or problem You can comment us below and can also Contact us.Want a Help Reagarding Website Design and Help from our WebSite? Submit a request below:
Contact Us