This commit is contained in:
2026-02-09 11:40:58 -05:00
parent 82c89e4aac
commit d7f860469b
2 changed files with 14 additions and 6 deletions
+13 -5
View File
@@ -4,10 +4,9 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="fa3ca596-285f-4ed7-a3a4-7b1482493fd4" name="Changes" comment="调试 Google 广告">
<list default="true" id="fa3ca596-285f-4ed7-a3a4-7b1482493fd4" name="Changes" comment="测试广告 Push">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/docs/docsify-plugin-ads.js" beforeDir="false" afterPath="$PROJECT_DIR$/docs/docsify-plugin-ads.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/docs/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/docs/index.html" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -91,7 +90,7 @@
<option name="presentableId" value="Default" />
<updated>1716613044992</updated>
<workItem from="1770483844428" duration="453000" />
<workItem from="1770641739752" duration="10823000" />
<workItem from="1770641739752" duration="11497000" />
</task>
<task id="LOCAL-00001" summary="更新編輯按鈕">
<option name="closed" value="true" />
@@ -149,7 +148,15 @@
<option name="project" value="LOCAL" />
<updated>1770654181674</updated>
</task>
<option name="localTasksCounter" value="8" />
<task id="LOCAL-00008" summary="测试广告 Push">
<option name="closed" value="true" />
<created>1770654577739</created>
<option name="number" value="00008" />
<option name="presentableId" value="LOCAL-00008" />
<option name="project" value="LOCAL" />
<updated>1770654577739</updated>
</task>
<option name="localTasksCounter" value="9" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@@ -159,6 +166,7 @@
<MESSAGE value="更新編輯按鈕" />
<MESSAGE value="测试调用 Google 广告" />
<MESSAGE value="调试 Google 广告" />
<option name="LAST_COMMIT_MESSAGE" value="调试 Google 广告" />
<MESSAGE value="测试广告 Push" />
<option name="LAST_COMMIT_MESSAGE" value="测试广告 Push" />
</component>
</project>
+1 -1
View File
@@ -36,7 +36,7 @@
scriptIns.className = `adsbygoogle`;
scriptIns.style = 'display:inline-block;width:300px;height:150px';
scriptIns.setAttribute("data-ad-client", `${caPub}`);
scriptIns.setAttribute("data-ad-slot", `${caPub}`);
scriptIns.setAttribute("data-ad-slot", `${slot}`);
scriptAdPush = document.createElement("script");
scriptAdPush.text = "(adsbygoogle = window.adsbygoogle || []).push({});";