User:DEmersonJMFM/wikia.js

// Add Extra AccountNav Options - Source: User:SpikeToronto/wikia.js (Modified)

if(!window.CustomButtonsLoaded) addOnloadHook(addCustomLinks); var CustomButtonsLoaded = true; function addCustomLinks { $('Global.js').insertBefore('.wds-global-navigation__user-menu .wds-dropdown__content li:last'); $('Global.css').insertBefore('.wds-global-navigation__user-menu .wds-dropdown__content li:last'); $('Globalnav.css').insertBefore('.wds-global-navigation__user-menu .wds-dropdown__content li:last'); $('Classiceditor.css').insertBefore('.wds-global-navigation__user-menu .wds-dropdown__content li:last'); $('<a href="/wiki/User:DEmersonJMFM/polls.css">Polls.css</a></li>').insertBefore('.wds-global-navigation__user-menu .wds-dropdown__content li:last'); }