Hello friends and welcome to our new article in today I will tell you how you can restrict your users to click on ads multiple times so that your CTR doesn't go too much higher and your AdSense becomes safe.
Note: This Script Only works for Plus UI Blogger Template by FineShop Design.
As you know that in this blogging areas there are many haters which think in negative purpose which leads to defamation of both the competitors.
I had also faced this problem in the last 3 months so that's why I am using a special JavaScript so that whenever any user clicks multiple times then the ads will stop to load for that user.
Our script is based on Cookies so it's not that much effective but it will work in a very good way by disabling Ads for those users.
The whole credit for all these codes goes to FineShop Design and we are writing this post after confirmation of FineShop Design to use the codes that they have given to us.
So let's start this tutorial so that you can protect your website from invalid clicks and enjoy the whole amount of earning that you have done without any deductions by AdSense.
Note: This Script Only works for Plus UI Blogger Template by FineShop Design.
How to add Click Protection Script in Plus UI theme?
</head>
or </head>
and paste the below code above the head tag.<script>/*<![CDATA[*//* Max Clicks by FD & AN */ function mxAdCl(){var aFcss=document.createElement('style');aFcss.textContent='.adsbygoogle, .blogAd, .ancrA, HTML91, HTML92, HTML93, HTML94, HTML95, HTML96{display:none ! important}';document.head.appendChild(aFcss)}; if(Pu.gC('ADS_FD')!=undefined){if(parseInt(Pu.gC('ADS_FD'))>=1){mxAdCl()}};/*]]>*/</script>
</body>
or </body>
and paste the below code above the body tag..<script>/*<![CDATA[*/
/* Adsense Max Click by FD & AN */ !function(){function o(e,n){return null!=(e=Pu.gC(e))&&parseInt(e)>=n}var s="ADS_FD",e=".adsbygoogle";o(s,3)&&(PuSet.adsenseAds.publisherId=""),0<qSell(e).length&&qSell(e).forEach(e=>{e.addEventListener("click",function(){var e,n;o(s,3)?(console.log("Don't Click on Ads"),mxAdCl()):(e=s,null!=(n=Pu.gC(e))?(n=parseInt(n)+1,Pu.sC(e,n.toString(),{secure:!0,"max-age":3600})):Pu.sC(e,"1",{secure:!0,"max-age":3600}))})}),window.addEventListener("blur",function(){o(s,3)&&(mxAdCl());for(var e,n,l=qSell(".adsbygoogle iframe"),t=0;t<l.length;t++)document.activeElement==l[t]&&(o(s,3)?(console.log("Don't Click on Ads"),mxAdCl()):(e=s,null!=(n=Pu.gC(e))?(n=parseInt(n)+1,Pu.sC(e,n.toString(),{secure:!0,"max-age":3600})):Pu.sC(e,"1",{secure:!0,"max-age":3600})))})}();
/*]]>*/</script>
Conclusion
Note: This Script Only works for Plus UI Blogger Template by FineShop Design.
Reason Behind making of this Script
FAQ you may like
How to protect AdSense Invalid Clicks in Blogger?
We are introducing a script to disable ads for users who click our ads and after specific clicks add will stop appearing to them. This is Possible in Plus UI so you have to buy the Theme.
How to disable Ads via JS?
By using some CSS and JS combo we can easily disable ads with some conditions and implement AdsBlocking script easily..
How to buy Plus UI?
Plus UI blogger template can be purchased via Contacting Fineshop Design and the respective Team Members which will provide you license and Theme in exchange for 699₹ (10$ Outside India)...