Update @ July 7, 2025: If you are having issues with the site (including any PHP errors), please contact us via Facebook. Thank you!
MediaWiki:Common.js: Difference between revisions
From generasia
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
mw.loader.getScript( '//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js' ) | |||
.then( function (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 | ||
}); | }); | ||
mw.loader.getScript(window, document, '//vdo.ai/core/generasia/vdo.ai.js') | |||
(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);}) | .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);})
});