Advertisement
clickio

AdSense pausing code

Aug 24th, 2020 (edited)
1,865
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.57 KB | None | 0 0
  1. <script>var adsbygoogle=window.adsbygoogle||[];adsbygoogle.pauseAdRequests=1;var consentCallbackQueue=function(n,o){let e=[],s=!1,u=!1,l=function(){s=!0,e.map(function(n,o){void 0!==n&&(n(),e[o]=void 0)})};return(n.__lxG__consent__=n.__lxG__consent__||{}).consentCallback=function(n){u=!0,null===n?l():-1===n||1===n&&l()},setTimeout(function(){
  2. u||(n.adsbygoogle&&(n.adsbygoogle.requestNonPersonalizedAds=1),n.__lxG__consent__.consentCallback(0))
  3. },5e3),{push:function(n){s?n():e.push(n)}}}(window);consentCallbackQueue.push(function(){adsbygoogle.pauseAdRequests=0});</script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement