Difference between revisions of "MediaWiki:Common.js"
From webCoRE Wiki - Web-enabled Community's own Rule Engine
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. */ | ||
− | + | ||
− | + | window.CHITIKA = { 'units' : [ | |
− | + | {"calltype":"async[2]","publisher":"ady624","width":728,"height":90,"sid":"Chitika Default"}, | |
− | + | {"calltype":"async[2]","publisher":"ady624","width":160,"height":600,"sid":"Chitika Default"} | |
− | + | ] }; | |
− | + | ||
var script = document.createElement('script'); | var script = document.createElement('script'); | ||
script.type = 'text/javascript'; | script.type = 'text/javascript'; | ||
script.src = '//cdn.chitika.net/getads.js'; | script.src = '//cdn.chitika.net/getads.js'; | ||
document.head.appendChild(script); | document.head.appendChild(script); |
Revision as of 23:58, 4 May 2017
/* Any JavaScript here will be loaded for all users on every page load. */
window.CHITIKA = { 'units' : [
{"calltype":"async[2]","publisher":"ady624","width":728,"height":90,"sid":"Chitika Default"},
{"calltype":"async[2]","publisher":"ady624","width":160,"height":600,"sid":"Chitika Default"}
] };
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = '//cdn.chitika.net/getads.js';
document.head.appendChild(script);