User:Telinc1/RawTextButton.js

/* * FOR PERSONAL USE ONLY! * Raw Text Button, by Telinc1, based off of Ose and Kangaroopower's code. * Will add a button to switch to the QQX language. * Fully compatible with SkinSwitchButton! * FOR PERSONAL USE ONLY! */

$(function($){   if(!document.getElementById('ca-rawTextDisplay')){    // Do not repeat.        if(skin === 'oasis' || skin === 'wikia'){    // If we are using Oasis...            $(''+ 'Raw Text' +'').appendTo('#GlobalNavigation');    // Add the button to the global navigation.        }else{            $(''+ 'raw text' +'').appendTo('#p-cactions > .pBody > ul');    // Otherwise, add it to the "top menu".        }    } });

// THIS IS FOR PERSONAL USE ONLY! (how many times do i need to mention that?)