Difference between revisions of "Template:Ads recomended"

From Enduro.team
Jump to: navigation, search
m
m
Line 2: Line 2:
 
<html>
 
<html>
 
<body>
 
<body>
<div class="adsrecomended">
+
<div class="adbanner">
 +
<ins class="adsbygoogle"
 +
    style="display:block"
 +
    data-ad-format="autorelaxed"
 +
    data-ad-client="ca-pub-9226951475373251"
 +
    data-ad-slot="3159268773"></ins>
 
<script>
 
<script>
setTimeout(function(){
+
    (adsbygoogle = window.adsbygoogle || []).push({});
var div = document.createElement("ins");
 
div.setAttribute('class', 'recomended');
 
div.setAttribute('data-ad-client', '9226951475373251');
 
div.setAttribute('data-ad-slot', '3159268773');
 
div.setAttribute('data-ad-format', 'autorelaxed');
 
$('.search-results-title').append(div);
 
var js = document.createElement("script");
 
js.setAttribute('src', 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9226951475373251');
 
js.setAttribute('async', true);
 
document.head.appendChild(js);
 
setTimeout(function(){
 
(recomended = window.adsbygoogle || []).push({});
 
}, 1000);
 
}, 3000);
 
 
</script>
 
</script>
 
</div>
 
</div>

Revision as of 14:59, 22 July 2021