Difference between revisions of "MediaWiki:Common.js"

From webCoRE Wiki - Web-enabled Community's own Rule Engine
Jump to: navigation, search
(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>")
 
m (FA 4 shims were not needed)
 
(13 intermediate revisions by 2 users not shown)
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>
+
 
 +
/*
 +
window.CHITIKA = { 'units' : [
 +
  {"calltype":"async[2]","publisher":"ady624","width":160,"height":600,"sid":"Chitika Default"},
 +
  {"calltype":"async[2]","publisher":"ady624","width":728,"height":90,"sid":"Chitika Default"}
 +
] };
 +
 
 +
var script = document.createElement('script');
 +
script.type = 'text/javascript';
 +
script.src = '//cdn.chitika.net/getads.js';
 +
script.async = true;
 +
document.head.appendChild(script);
 +
 
 +
var infolinks_pid = 2996624;
 +
var infolinks_wsid = 0;
 +
var script = document.createElement('script');
 +
script.type = 'text/javascript';
 +
script.src = '//resources.infolinks.com/js/infolinks_main.js';
 +
script.async = true;
 +
document.head.appendChild(script);
 +
*/
 +
/*
 +
 
 +
var script = document.createElement('script');
 +
script.type = 'text/javascript';
 +
script.src = '//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US&adInstanceId=1c018b1f-0af0-4396-a510-867f9bdae50d';
 +
script.async = true;
 +
document.head.appendChild(script);
 +
*/
 +
 
 +
var script = document.createElement('script');
 +
script.type = 'text/javascript';
 +
script.src = 'https://pro.fontawesome.com/releases/v5.1.0/js/all.js';
 +
script.defer = true;
 +
document.head.appendChild(script);

Latest revision as of 02:11, 7 July 2018

/* Any JavaScript here will be loaded for all users on every page load. */

/*
window.CHITIKA = { 'units' : [
   {"calltype":"async[2]","publisher":"ady624","width":160,"height":600,"sid":"Chitika Default"},
   {"calltype":"async[2]","publisher":"ady624","width":728,"height":90,"sid":"Chitika Default"}
] };

var script = document.createElement('script');
script.type = 'text/javascript';
script.src = '//cdn.chitika.net/getads.js';
script.async = true;
document.head.appendChild(script);

var infolinks_pid = 2996624;
var infolinks_wsid = 0;
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = '//resources.infolinks.com/js/infolinks_main.js';
script.async = true;
document.head.appendChild(script);
*/
/*

var script = document.createElement('script');
script.type = 'text/javascript';
script.src = '//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US&adInstanceId=1c018b1f-0af0-4396-a510-867f9bdae50d';
script.async = true;
document.head.appendChild(script);
*/

var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://pro.fontawesome.com/releases/v5.1.0/js/all.js';
script.defer = true;
document.head.appendChild(script);