User:UnboundIsaac/global.js

('User:Monchoman45/ChatHacks.js', 'c') mw.loader.using('jquery.ui.autocomplete', function {    $(function { var availableTags = [ '[b][/b]', '[bg=""][/bg]', '[big][/big]', '[c=""][/c]', '[code][/code]', '[font=""][/font]', '[i][/i]', '[img=""]', '[small][/small]', '[s][/s]', '[sub][/sub]', '[sup][/sup]', '[u][/u]', '[yt=""]' ];        $('textarea[name=message]').autocomplete({             source: availableTags,             position: { my: "left bottom", at: "left top", collision: "none" }         }); mw.util.addCSS('.ui-autocomplete{border:1px solid #000;background:#000;width:150px!important}.ui-menu-item{background:#fff;border-bottom:2px solid #000}.ui-menu-item a{font-family:monospace;color:#000!important}'); }); });