Difference between revisions of "MediaWiki:Common.js"

From ConTeXt wiki
(flattr js)
(No difference)

Revision as of 17:45, 10 February 2011

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

(function() {
        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
        s.type = 'text/javascript';
        s.async = true;
        s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
        t.parentNode.insertBefore(s, t);
    })();