Loading docs/.vuepress/public/wx_helper.js +1 −1 Changes for docs/.vuepress/public/wx_helper.js: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ function load_adsense() { oScript.src = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"; oScript.setAttribute("async", ""); oScript.setAttribute("data-ad-client", "ca-pub-9039393129169217"); document.body.appendChild(oScript); document.head.appendChild(oScript); // <script data-ad-client="ca-pub-9039393129169217" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> } else { console.log("小程序环境,跳过"); Loading Loading
docs/.vuepress/public/wx_helper.js +1 −1 Changes for docs/.vuepress/public/wx_helper.js: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ function load_adsense() { oScript.src = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"; oScript.setAttribute("async", ""); oScript.setAttribute("data-ad-client", "ca-pub-9039393129169217"); document.body.appendChild(oScript); document.head.appendChild(oScript); // <script data-ad-client="ca-pub-9039393129169217" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> } else { console.log("小程序环境,跳过"); Loading