MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
JeffreyATW (talk | contribs) No edit summary |
JeffreyATW (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]= | |||
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date; | |||
e=o.createElement(i);r=o.getElementsByTagName(i)[0]; | |||
e.src='//www.google-analytics.com/analytics.js'; | |||
r.parentNode.insertBefore(e,r)}(window,document,'script','ga')); | |||
ga('create','UA-68102409-1','auto');ga('send','pageview'); | |||
$(function () { | $(function () { | ||
$('#content').prepend("<div style='position: fixed; top: 50px; right: 0;'><a href='https://noisebridge.net/donate'><img src='https://noisebridge.net/images/5/55/Donate.png' alt='Donate'></a></div>"); | $('#content').prepend("<div style='position: fixed; top: 50px; right: 0;'><a href='https://noisebridge.net/donate'><img src='https://noisebridge.net/images/5/55/Donate.png' alt='Donate'></a></div>"); | ||
}); | }); |
Revision as of 17:11, 24 September 2015
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]= function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date; e=o.createElement(i);r=o.getElementsByTagName(i)[0]; e.src='//www.google-analytics.com/analytics.js'; r.parentNode.insertBefore(e,r)}(window,document,'script','ga')); ga('create','UA-68102409-1','auto');ga('send','pageview'); $(function () { $('#content').prepend("<div style='position: fixed; top: 50px; right: 0;'><a href='https://noisebridge.net/donate'><img src='https://noisebridge.net/images/5/55/Donate.png' alt='Donate'></a></div>"); });