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 !== 'monobook'){    // If we are not using Monobook...            $(''+ 'Raw Text' +'').appendTo('.toolbar > .tools');    // Add the button to the toolbar.        }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?)