Browse Source

修改google ads嵌入代码

gsgundam 5 years ago
parent
commit
cf6417c1be
1 changed files with 1 additions and 6 deletions
  1. 1 6
      application/index/view/base/comm.html

+ 1 - 6
application/index/view/base/comm.html

@@ -91,12 +91,7 @@
         scrolltotop.init();
     </script>
 <!-- <script async src="__IBOXS__/js/adsbygoogle.js"></script> -->
-<script>
-        (adsbygoogle = window.adsbygoogle || []).push({
-            google_ad_client: "ca-pub-1101808529197281",
-            enable_page_level_ads: true
-        });
-    </script>
+    <script data-ad-client="ca-pub-1101808529197281" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
 <style type="text/css">
         /*正文样式*/
         body {