feat: Add Google AdSense script for ads in index.html and config.js

This commit is contained in:
Harvey Zack committed 2024-08-04 09:43:38 +08:00
1 parent 245ce6c6b7
commit 0bb99184ca
2 files changed
+6

No files matched your search

+2
View File
@@ -157,6 +157,8 @@
<div class="popups">
<div class="popinner"></div>
</div>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8579453810848662"
crossorigin="anonymous"></script>
<script src="./assets/js/console.js"></script>
<script src="./assets/js/vs/loader.js"></script>
<script>
@@ -175,6 +175,10 @@ const config = {
[
'meta',
{ name: 'google-adsense-account', content: 'ca-pub-8579453810848662' }
],
[
'script',
{ async: true, src: "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8579453810848662", crossorigin: "anonymous" }
]
]
}