Difference between revisions of "Template:Ads recomended"

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

Revision as of 14:19, 22 July 2021