Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.onload = initAll;
- function initAll() {
- document.getElementById("sillySubmit").onclick = function() {
- document.getElementById("msgField").innerHTML = getSillyName();
- return false;
- }
- }
- function getSillyName() {
- var firstName = ["Linkeus", "namles_hacker", "Mi/c/healRein", "Hero", "Shot", "Hiroshit", "Konr", "Monkeys", "Daniel.", "xTremist", "Dalton", "TheIndianGuy", "insert911", "GannoK", "MooMooMooWoo", "Womanizer", "Talix", "Kazekeil", "Brolock", "MtnDew", "Butters", "Phox", "init", "Whisk", "Cryoma", "fele"];
- var lastName1 = ["NewFag", "OldFag", "Troll", "Fat", "Skinny", "Nerd", "Queer", "Loser", "God", "Satan", "Penis", "Vagina", "Ovary", "Foot", "Head", "Cock", "Boner", "Urine", "Hurp", "Durp", "Joker", "Anime", "Weeaboo", "Ex", "Porn", "Love"];
- var lastName2 = ["User", "Player", "Boss", "Lord", "Jesus", "Computer", "Anus", "Fart", "Poop", "Testicles", "Bull", "Dog", "Bird", "Forehead", "Back", "Whale", "Giraffe", "Llama", "Boar", "Cyst", "Wart", "Rat", "Juice", "Fanny", "Earwig", "Snake"];
- var firstNm = document.getElementById("fName").value.toUpperCase();
- var lastNm = document.getElementById("lName").value.toUpperCase();
- var validName;
- var firstNum = firstNm.charCodeAt(0) - 65;
- if (firstNum < 0 || firstNum > 25) {
- validName = " first";
- }
- var lastNum1 = lastNm.charCodeAt(0) - 65;
- var lastNum2 = lastNm.charCodeAt ((lastNm.length-1)) - 65;
- if (lastNum1 < 0 || lastNum1 > 25 || lastNum2 < 0 || lastNum2 > 25) {
- validName = validName+" last";
- }
- if (typeof(validName) == 'string') {
- return "That is not a valid" + validName.replace("first last","first or last").replace("undefined","") + " name.";
- }
- else{
- return "Your new CEF fucking forum name is " + firstName[firstNum] + " " + lastName1[lastNum1] + lastName2[lastNum2];
- }
- }
Add Comment
Please, Sign In to add comment