How to Secure a Blog from an Inspector Using JavaScript on Blogger
Hello, I haven't updated the article on this blog for a long time. This time I will share a script that is useful for securing your blog or website from an inspector. Actually this Inspect is very useful for people who like to design websites, it is even a mandatory tool for designing websites.
However, Inspect can also be a concern because it is being misused by irresponsible clones or clones. This script is not completely safe or not 100% safe from inspectors, there must be flaws and there are only ways to outsmart it. but this script can be a little protection on your website.
For a demo of this script you can see it in the demo link below. Please open the inspect in your browser and see the results
DEMO
Demo
How? Interested in making it? Please see the method below, Cekidod
THE TUTORIAL
First, just copy the script below and place it above the </body> code
<script type="text/javascript">
eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\b'+e(c)+'\b','g'),k[c])}}return p}('(3(){(3 a(){8{(3 b(2){7((''+(2/2)).6!==1||2%5===0){(3(){}).9('4')()}c{4}b(++2)})(0)}d(e){g(a,f)}})()})();',17,17,'||i|function|debugger|20|length|if|try|constructor|||else|catch||5000|setTimeout'.split('|'),0,{}))
</script>
Or you can also use the jsdeliver below, but I prefer to use the js code above. The method is the same, put it above the </body> code
<script src='https://cdn.jsdelivr.net/gh/nafasmedia/code-js@master/noinspect.js'/>
That's the script. not finished there, because we use Javascript it will be easy to turn off via their browser. We will add, a notification for them to turn on javascript in their browser.
This method is for security only. Actually, it can also be done without this because every website definitely needs javascript so they inevitably have to turn on javascript in their browser. For how, please enter the script below and place it under the <body> code
<noscript>
<div id='NoScript'>
<h3>Please enable javascript to view this site.</h3>
</div>
</noscript>
And don't forget to enter the CSS above the code / style or ]]> </ b: skin
#NoScript { background-color:#ddd; border-top:2px solid #0073B4; border-bottom:2px solid #0073B4; height:100%; padding:5px 0; position:fixed; top:0;text-align:center; width:100%; z-index:9999 }
#NoScript h3 { color:rgb(102,102,102); font-size:24px; margin-left:-30px; margin-top:-18px; position:absolute; text-align:center; top:30%; width:100% }
Please Wait Bro, Link will be apear in 10 seconds.
Succesfull Now Click the button
Belum ada Komentar untuk "How to Secure a Blog from an Inspector Using JavaScript on Blogger"
Posting Komentar