User:RyaNayR/CustomToolbarToggle.js

var toolbarCSS = mw.util.addCSS('.WikiaBarWrapper{background:linear-gradient(to bottom,#3264af 25%,#00327d 50%,#00194b 75%)}.WikiaBarWrapper .toolbar .tools li a{color:#0ff;font-weight:700}.WikiaBarWrapper .tools-menu{background:linear-gradient(#000064,#6496ff,#000064) repeat scroll 0 0 transparent;border-radius:8px;border:2px solid silver;min-width:90px;text-align:center}.WikiaBarWrapper .toolbar .tools .arrow-icon{border-color:transparent transparent lime}');

function customToolbar { $('#WikiaBarWrapper .toolbar > .tools').append('Toggle Custom Toolbar '); }

function toggleCustomToolbar { toolbarCSS.disabled = !toolbarCSS.disabled; }

mw.hook('wikipage.content').add(customToolbar).fire;