Last active
May 12, 2017 17:28
-
-
Save ICBA03/ed10ce3ea7e1bb8e45c01be182f40307 to your computer and use it in GitHub Desktop.
javascript-jquery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var kadar_adSenseCotnainer = document.getElementById("googlesyndication"); | |
if ( kadar_adSenseCotnainer ) { | |
var kadar_script = document.createElement('script'); | |
var kadar_script2 = document.createElement('script'); | |
kadar_script.src = "//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"; | |
kadar_script2.setAttribute('type', 'text/javascript'); | |
kadar_script2.innerText = '(adsbygoogle = window.adsbygoogle || []).push({})'; | |
kadar_adSenseCotnainer.innerHTML = "<ins class='adsbygoogle' style='display:block' data-ad-client='ca-pub-6528726188076812' data-ad-slot='7937423337' data-ad-format='auto'></ins>"; | |
kadar_adSenseCotnainer.prepend(kadar_script); | |
kadar_adSenseCotnainer.appendChild(kadar_script2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment