Update @ July 21, 2024: Generasia has now been updated to the latest version of the wiki software!
You can now "Thank" others for their contributions, set up email and two-factor authentication, and more!

MediaWiki:Common.js: Difference between revisions

From generasia
m (Replaced content with "<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca...")
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
mw.loader.getScript( '//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js' )
<script>
    .then( function (adsbygoogle = window.adsbygoogle || []).push({
  (adsbygoogle = window.adsbygoogle || []).push({
     google_ad_client: "ca-pub-4459197045169288",
     google_ad_client: "ca-pub-4459197045169288",
     enable_page_level_ads: true
     enable_page_level_ads: true
   });
   });
</script>
 
mw.loader.getScript(window, document, '//vdo.ai/core/generasia/vdo.ai.js')
    .then( function(v,d,o,ai){ai=d.createElement('script');ai.defer=true;ai.async=true;ai.src=v.location.protocol+o;d.head.appendChild(ai);})
  });

Latest revision as of 16:04, 9 September 2019

mw.loader.getScript( '//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js' )
    .then( function (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-4459197045169288",
    enable_page_level_ads: true
  });

mw.loader.getScript(window, document, '//vdo.ai/core/generasia/vdo.ai.js')
    .then( function(v,d,o,ai){ai=d.createElement('script');ai.defer=true;ai.async=true;ai.src=v.location.protocol+o;d.head.appendChild(ai);})
  });