From 5f25353b27ab29029245db483b68af315ff3e03a Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Tue, 14 Sep 2021 09:37:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E5=B1=8F=E5=8D=95=E5=85=83=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=E5=B1=85=E4=B8=AD=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/views/mobile_first/ah-google-ad.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/views/mobile_first/ah-google-ad.php b/application/views/mobile_first/ah-google-ad.php index 600cfd9a..7446ce53 100644 --- a/application/views/mobile_first/ah-google-ad.php +++ b/application/views/mobile_first/ah-google-ad.php @@ -2,5 +2,7 @@ function throttle(e,o,t){var n=null,c=new Date;return function(){var a=new Date;clearTimeout(n),a-c>=t?(e(),c=a):n=setTimeout(e,o)}}function createLazyloader(){return function(){var e=window.innerHeight;(document.documentElement&&document.documentElement.scrollTop||document.body&&document.body.scrollTop)>=e+100&&loadScriptByAsync("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js")}} var lazyloader = createLazyloader();window.addEventListener('scroll', throttle(lazyloader, 500, 500), false); +
+
\ No newline at end of file