User:FreeMediaKid!/hide-bad-words.js

// ********************************************************************** // **                ***WARNING GLOBAL GADGET FILE***                 ** // **            changes to this file affect many users. ** // **          please discuss on the talk page before editing         ** // **                                                                 ** // ********************************************************************** $(document).ready( function  {    var tab, tablink;    tab = document.getElementById('ca-addsection');    if ( !tab ) {        return;    }    tablink = tab.getElementsByTagName('a')[0];    if ( !tablink ) {        return;    }    tablink.firstChild.nodeValue = '+';    if ( mw.config.get( 'skin' ) === 'monobook' ) {      tablink.style.paddingLeft = ".4em";      tablink.style.paddingRight = ".4em";    } });