调试 Google 广告

This commit is contained in:
2026-02-09 11:23:01 -05:00
parent 9d78387fd5
commit a5183cfea8
2 changed files with 12 additions and 6 deletions
+10 -2
View File
@@ -90,7 +90,7 @@
<option name="presentableId" value="Default" />
<updated>1716613044992</updated>
<workItem from="1770483844428" duration="453000" />
<workItem from="1770641739752" duration="9981000" />
<workItem from="1770641739752" duration="10449000" />
</task>
<task id="LOCAL-00001" summary="更新編輯按鈕">
<option name="closed" value="true" />
@@ -132,7 +132,15 @@
<option name="project" value="LOCAL" />
<updated>1770646708279</updated>
</task>
<option name="localTasksCounter" value="6" />
<task id="LOCAL-00006" summary="调试 Google 广告">
<option name="closed" value="true" />
<created>1770653711582</created>
<option name="number" value="00006" />
<option name="presentableId" value="LOCAL-00006" />
<option name="project" value="LOCAL" />
<updated>1770653711582</updated>
</task>
<option name="localTasksCounter" value="7" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
+2 -4
View File
@@ -34,11 +34,9 @@
scriptIns = document.createElement("ins");
scriptIns.className = `adsbygoogle`;
scriptIns.style = `display:block`;
scriptIns.style = 'display:inline-block;width:300px;height:150px';
scriptIns.setAttribute("data-ad-client", "ca-pub-4797644559430915");
scriptIns.setAttribute("data-ad-slot", "4417932244");
scriptIns.setAttribute("data-ad-format", "auto");
scriptIns.setAttribute("data-full-width-responsive", true);
scriptIns.setAttribute("data-ad-slot", "1781911644");
scriptAdPush = document.createElement("script");
scriptAdPush.text = "(adsbygoogle = window.adsbygoogle || []).push({});";