User:Nkon21/vector-max-width-toggle.js

/** * Usage instructions: mw.loader.getScript('https://en.wikipedia.org/w/index.php?title=User:Jdlrobson/vector-max-width-toggle.js&action=raw&ctype=text/javascript'); */

var $switcher = $(' ').on('click', function { $(document.body).toggleClass('skin-vector-max-width'); } ).prependTo('#content');

$('#content').css('position', 'relative')