调试 Google 广告
This commit is contained in:
+4
-2
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user