Difference between revisions of "MediaWiki:Common.js"
From Encyclopedia of Mathematics
EddieBates (talk | contribs) |
EddieBates (talk | contribs) |
||
| Line 2: | Line 2: | ||
mw.loader.load("https://cdn.cookielaw.org/consent/298e5628-1010-4b40-809e-9b8f812fac14.js"); | mw.loader.load("https://cdn.cookielaw.org/consent/298e5628-1010-4b40-809e-9b8f812fac14.js"); | ||
function OptanonWrapper() { } | function OptanonWrapper() { } | ||
| + | |||
| + | var _gaq = _gaq || []; | ||
| + | _gaq.push(['_setAccount', 'UA-22146237-1']); | ||
| + | _gaq.push (['_gat._anonymizeIp']); | ||
| + | _gaq.push(['_trackPageview']); | ||
| + | |||
| + | (function() { | ||
| + | var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | ||
| + | ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | ||
| + | var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | ||
| + | })(); | ||
Revision as of 17:42, 13 July 2018
/* Any JavaScript here will be loaded for all users on every page load. */
mw.loader.load("https://cdn.cookielaw.org/consent/298e5628-1010-4b40-809e-9b8f812fac14.js");
function OptanonWrapper() { }
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-22146237-1']);
_gaq.push (['_gat._anonymizeIp']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
How to Cite This Entry:
Common.js. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Common.js&oldid=43360
Common.js. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Common.js&oldid=43360