Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.

Commit c6780b3

Browse files
committed
feat: simplify AdSense ad integration and remove redundant poster definitions in play.html
1 parent 86a0942 commit c6780b3

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

best/play.html

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@
2121
</head>
2222
<body>
2323
<div id="App" v-cloak>
24-
<div class="play_game">
25-
<center>
26-
<!-- game_play_top -->
27-
<ins class="adsbygoogle"
28-
style="display:block; height: 100px;"
29-
data-ad-client="ca-pub-7962287588031867"
30-
data-ad-slot="2077443937"
31-
data-ad-format="auto"
32-
data-full-width-responsive="true"></ins>
33-
<script>
34-
(adsbygoogle = window.adsbygoogle || []).push({});
35-
</script>
36-
</center>
37-
<iframe class="game" :src="'https://www.datinginfo.top/game/index.html?gameFileName=${gameFileName}/'"
24+
<center>
25+
<!-- game_play_top -->
26+
<ins class="adsbygoogle"
27+
style="display:block;"
28+
data-ad-client="ca-pub-7962287588031867"
29+
data-ad-slot="2077443937"
30+
data-ad-format="auto"
31+
data-full-width-responsive="true"></ins>
32+
<script>
33+
(adsbygoogle = window.adsbygoogle || []).push({});
34+
</script>
35+
</center>
36+
<div class="play_game">
37+
<iframe class="game" :src="`https://www.datinginfo.top/game/index.html?gameFileName=${gameFileName}/`"
3838
frameborder="0" scrolling="no" allowfullscreen></iframe>
3939
<div class="posterBanner" ref='topAd' v-html='poster4'></div>
4040
</div>
@@ -199,12 +199,12 @@
199199

200200
mask: true,
201201
show: true,
202-
poster: '<ins class="adsbygoogle" style="display:block;" data-ad-client="ca-pub-7962287588031867" data-ad-slot="2077443937" data-ad-format="auto" data-full-width-responsive="true"></ins> <script>(adsbygoogle = window.adsbygoogle || []).push({});</script>',
203-
poster2: '<ins class="adsbygoogle" style="display:block;" data-ad-client="ca-pub-7962287588031867" data-ad-slot="2077443937" data-ad-format="auto" data-full-width-responsive="true"></ins> <script>(adsbygoogle = window.adsbygoogle || []).push({});</script>',
204-
poster3: '<ins class="adsbygoogle" style="display:block;" data-ad-client="ca-pub-7962287588031867" data-ad-slot="2077443937" data-ad-format="auto" data-full-width-responsive="true"></ins> <script>(adsbygoogle = window.adsbygoogle || []).push({});</script>',
205-
poster4: '<ins class="adsbygoogle" style="display:block;" data-ad-client="ca-pub-7962287588031867" data-ad-slot="2077443937" data-ad-format="auto" data-full-width-responsive="true"></ins> <script>(adsbygoogle = window.adsbygoogle || []).push({});</script>',
206-
poster5: '<ins class="adsbygoogle" style="display:block;" data-ad-client="ca-pub-7962287588031867" data-ad-slot="2077443937" data-ad-format="auto" data-full-width-responsive="true"></ins> <script>(adsbygoogle = window.adsbygoogle || []).push({});</script>',
207-
poster6: '<ins class="adsbygoogle" style="display:block;" data-ad-client="ca-pub-7962287588031867" data-ad-slot="2077443937" data-ad-format="auto" data-full-width-responsive="true"></ins> <script>(adsbygoogle = window.adsbygoogle || []).push({});</script>',
202+
poster: "",
203+
poster2: "",
204+
poster3: "",
205+
poster4: "",
206+
poster5: "",
207+
poster6: "",
208208
count: "",
209209
totalTime: 5,
210210
},

0 commit comments

Comments
 (0)