Friday

Adblocker Detected Notification Kaise Show Karate Hai

May 04, 2018

Blog ya website me Adblocker detected , ad blocker disable kare notification kaise show karate hai, jab apka koi user adblocker active karke apke blog ko read kar raha hota hai tab aap es tarike ka use karke use adblocker ko disable karne ko kah sakte hai taki apka user use disable kare.

adblocker-detected-notification-show-karana
Jo website ads ke dwara earn karti hai use es tarike ka use karna jarori hota hai, kyunki jab apka koi user adblocker acive karke apki site ya blog use karta hai to apko koi fayada nahi hota hai esliye jarori hota hai ki aap apne user ko adblocker disable karne ko kahe. Uske liye yaha jankari aur code diye ja rahe hai unka use kar sakte hai. aur apne user ko adblocker disable karne ko kah sakte hai.

Adblocker Detected Notification Kaise Show Karate Hai



Step 1

Ad blocker detected notification show karane ke kai tarike hai aur yaha main apko ek popular tarike ke bare me batane ja raha hun jiska use karna bahut easy hai.

1. Goto blog dashboard.
2. Edit HTML me jayiye.


<script type='text/javascript'>
//<![CDATA[
// Adblock Detected
window.onload=function(){setTimeout(function(){var e=document.querySelector("ins.adsbygoogle");e&&0==e.innerHTML.replace(/\s/g,"").length&&(e.style.cssText="color:rgba(0,0,0,0.5);font-weight:700;font-size:110%;padding:20px;margin:auto;text-align:center;text-decoration:none;display:block!important;background:rgba(0,0,0,0.02);border:1px solid rgba(0,0,0,0.08)",e.innerHTML="It appears that you are using Adblocker in your browser! Please Disable it for use")},2e3)};
//]]>
</script>


3. Template ki body me sabse niche </body> ke upper ye code paste kar dijiye.
4. Theme ko save kar dijiye.

Apka work ho gaya hai. Ab adblocker active hone per apke blog per "It appears that you are using Adblocker in your browser! Please Disable it for use" ye notification show hoga.

Step 2

kabi kabi hamara user apne blowser me javascript ko disable kar deta hai jisse ye code work nahi karne lagata hai aur apke blog per ads bhi show nahi hote hai. Esliye hume ek extra code ko bhi use karne ki jarorat padti hai.


<noscript>
<style type='text/css'>
/* No Script */
body,html{overflow:hidden}
.noscript{background:#e74c3c;color:#fff;padding:8% 0 0 0;position:fixed;bottom:0;left:0;top:0;right:0;z-index:1000;height:auto;-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}
.noscript p{margin:0;text-align:center;padding:0 20px 10px 20px;margin:auto;font-size:3rem;line-height:1.5;font-family:monospace;max-width:1010px;text-transform:uppercase;font-weight:700}
.noscript p span{color:#ffe88b;font-size:10rem;line-height:normal;font-weight:normal}
</style>
</noscript>

Ess code ko apni blog theme ke <head> tag ke niche paste kar dijiye. Niche wale code ko  </body> ke upper paste kar dijiye.


<noscript>
<div class='noscript'>
  <p><span>&#9888;</span></p>
  <p>Please Enable Javascript to view our site content</p>
  <p>Thank you</p>
</div>
</noscript>

Ab finally apka work complete ho gaya hai. Ab javascript disable hone per ya adblocker enable hone per apki site me notification show hoga.

I hope Adblocker Detected Notification Kaise Show Karate Hai  post apke liye helpful rahegi.

Must Read:
1. Blog me automatic html sitemap kaise banaye
2. Blog ki sabhi post images me pinterest pin button kaise ad kare
3. blog post me dusri posts ke link Automatic kaise dale
4. Right click disable karke copy hone se kaise bache




0 Comments