Difference between revisions of "Template:Ads recomended"

From Enduro.team
Jump to: navigation, search
m
m
Line 4: Line 4:
 
<div class="adbanner">
 
<div class="adbanner">
 
<script type="text/javascript">
 
<script type="text/javascript">
    document.write("<ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-9226951475373251" data-ad-slot="3159268773"></ins>");
+
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
</script>
+
document.write("<ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-9226951475373251" data-ad-slot="3158273233"></ins>");
<script>
+
}
    (adsbygoogle = window.adsbygoogle || []).push({});
+
else {
 +
document.write("<ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-9226951475373251" data-ad-slot="3159268773"></ins>");
 +
}
 +
(adsbygoogle = window.adsbygoogle || []).push({});
 
</script>
 
</script>
 
</div>
 
</div>

Revision as of 13:23, 22 July 2021