From b4e40d89cba53a76a9f91feea655b075ae25ad75 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Fri, 18 Aug 2023 16:01:02 +0800 Subject: [PATCH] gitbook wwads --- blog.config.js | 4 ++-- components/CommonScript.js | 2 +- components/WWAds.js | 4 ++-- themes/gitbook/components/MenuBarMobile.js | 2 +- themes/gitbook/components/MenuItemCollapse.js | 4 ++-- themes/gitbook/components/TopNavBar.js | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/blog.config.js b/blog.config.js index 99e30070f54..65683d0dce9 100644 --- a/blog.config.js +++ b/blog.config.js @@ -343,8 +343,8 @@ const BLOG = { ADSENSE_GOOGLE_SLOT_AUTO: process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_SLOT_AUTO || '8807314373', // Google AdScene>广告>按单元广告>新建展示广告 (自动广告) // 万维广告 - AD_WWADS_ENABLE: process.env.NEXT_PUBLIC_WWADS_ENABLE || false, // https://wwads.cn/ - AD_WWADS_BLOCK_DETECT: process.env.NEXT_PUBLIC_WWADS_AD_BLOCK_DETECT || false, // 是否开启WWADS广告屏蔽插件检测 @see https://github.com/bytegravity/whitelist-wwads + AD_WWADS_ID: process.env.NEXT_PUBLIC_WWAD_ID || null, // https://wwads.cn/ 创建您的万维广告单元ID + AD_WWADS_BLOCK_DETECT: process.env.NEXT_PUBLIC_WWADS_AD_BLOCK_DETECT || false, // 是否开启WWADS广告屏蔽插件检测,开启后会在广告位上以文字提示 @see https://github.com/bytegravity/whitelist-wwads // END<----营收相关 diff --git a/components/CommonScript.js b/components/CommonScript.js index e817f23a119..2d6afe14ec5 100644 --- a/components/CommonScript.js +++ b/components/CommonScript.js @@ -38,7 +38,7 @@ const CommonScript = () => { /> )} - {BLOG.AD_WWADS_ENABLE && } + {BLOG.AD_WWADS_ID && } {BLOG.COMMENT_CUSDIS_APP_ID &&