调试 Google 广告

This commit is contained in:
2026-02-09 09:18:27 -05:00
parent afb9bd50f2
commit 0292928a25
3 changed files with 133 additions and 4 deletions
+4 -2
View File
@@ -43,9 +43,10 @@
</head>
<body>
<div id="app">Loading ...</div>
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-carbon@1"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-adsense@1/index.min.js"></script>
<script src="docsify-plugin-ads.js"></script>
<script>
// Set html "lang" attribute based on URL
var lang = location.hash.match(/#\/(de-de|es|ru-ru|zh-cn)\//);
@@ -159,7 +160,8 @@
},
},
plugins: [
DocsifyAds.create('pub-4797644559430915'),
DocsifyAds.create('ca-pub-4797644559430915'),
function (hook, vm) {
hook.beforeEach(function (html) {
if (/githubusercontent\.com/.test(vm.route.file)) {