Difference between revisions of "MediaWiki:Common.js"
From webCoRE Wiki - Web-enabled Community's own Rule Engine
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: <script type="text/javascript" src="//cdn.chitika.net/getads.js" async></script>") |
|||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
− | <script type="text/javascript" src="//cdn.chitika.net/getads.js" async></script> | + | |
+ | ( function() { | ||
+ | if (window.CHITIKA === undefined) { window.CHITIKA = { 'units' : [] }; }; | ||
+ | var unit = {"calltype":"async[2]","publisher":"ady624","width":728,"height":90,"sid":"Chitika Default"}; | ||
+ | var placement_id = window.CHITIKA.units.length; | ||
+ | window.CHITIKA.units.push(unit); | ||
+ | }()); | ||
+ | document.write('<script type="text/javascript" src="//cdn.chitika.net/getads.js" async></script>'); |
Revision as of 23:43, 4 May 2017
/* Any JavaScript here will be loaded for all users on every page load. */
( function() {
if (window.CHITIKA === undefined) { window.CHITIKA = { 'units' : [] }; };
var unit = {"calltype":"async[2]","publisher":"ady624","width":728,"height":90,"sid":"Chitika Default"};
var placement_id = window.CHITIKA.units.length;
window.CHITIKA.units.push(unit);
}());
document.write('<script type="text/javascript" src="//cdn.chitika.net/getads.js" async></script>');