Difference between revisions of "MediaWiki:Vector.js"

From ISLAB/CAISR
(Created page with "Any JavaScript here will be loaded for users using the Vector skin: jQuery(function($){ if ( mw.user.isAnon() ) { $('#ca-viewsource').hide(); //id or class varies wi...")
(No difference)

Revision as of 16:18, 12 March 2014

/* Any JavaScript here will be loaded for users using the Vector skin */

jQuery(function($){ if ( mw.user.isAnon() ) {
    $('#ca-viewsource').hide(); //id or class varies with skin
    document.write("<h1>ANON</h1>");
 } } );