Difference between revisions of "Template:Ads recomended"

From Enduro.team
Jump to: navigation, search
m
m
Line 7: Line 7:
 
externalScript.type  = "text/javascript";
 
externalScript.type  = "text/javascript";
 
externalScript.setAttribute('async','async');
 
externalScript.setAttribute('async','async');
 +
externalScript.setAttribute('crossorigin','anonymous');
 
externalScript.src = "//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9226951475373251";
 
externalScript.src = "//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9226951475373251";
 
document.getElementsByTagName('body')[0].appendChild(externalScript);
 
document.getElementsByTagName('body')[0].appendChild(externalScript);

Revision as of 14:08, 22 July 2021