User:OriginalManofGod123/chat.js

//Switch to night button var night_button_user = 'Ohmygod123 Theme'; //Switch to day button var day_button_user = 'Default Chat Theme'; // //Color scheme for Night Chat // //Link color var linkColorUser = '#e07524'; //All text Color var textColorUser = '#a83834'; //Self text background color var selfTextColorUser = '#fb2845'; //Chat background color var backgroundColorUser = '#e90ce4'; //Chat foreground color var foregroundColorUser = '#fb2845'; //User stats foreground color var userStatsColorUser = '#132daa'; //END Night Chat color scheme //Night themed chat //Written by Foodbandlt function addDayNightButtonUser{ $(''+night_button_user+' ').prependTo('.Rail'); } function day_night_user{ $('style#night').remove; var styleElementUser = document.createElement('style'); styleElementUser.setAttribute("id", "nightUser"); styleElementUser.innerHTML='body{background-color: '+backgroundColorUser+';}.username, .message, div.chattopic, .info .edits, .UserStatsMenu .info .since, #ChatHeader h1.private, .Write [name="message"]{color: '+textColorUser+';}.WikiaPage, .UserStatsMenu, .ChatHeader, .Write [name="message"]{background-color: '+foregroundColorUser+';}.Chat .you{background: '+selfTextColorUser+';}a{color: '+linkColorUser+';}.UserStatsMenu .info{background-color:'+userStatsColorUser+';}'; $('head').append(styleElementUser); } function switch_view_user{ if ($('.Rail .day-night-div-user .day-night-button-user').text == night_button_user){ $('.Rail .day-night-button-user').text(day_button_user); $('style#day').remove; day_night_user; }else{ $('.Rail .day-night-div-user .day-night-button-user').text(night_button_user); $('style#nightUser').remove addDayStyle; } } if ($('.Rail .day-night-button-user').size < 1){ addDayNightButtonUser; } while ($('.day-night-div').size > 0){ $('.day-night-div').remove } while ($('.Rail .day-night-div-user').size > 1){ $('.WikiaPage .Rail div:last-child').remove }

Recent Wiki Activity

E-gearG (Extreme Gear) edited by Pacmansonic138 3 minutes ago E-gearR (Extreme Gear) edited by Pacmansonic138 3 minutes ago Metal Star (Extreme Gear) edited by Pacmansonic138 6 minutes ago Reala edited by Sacorguy79 10 minutes ago

See more > Add a Photo 34,869photos on this wiki

See all photos

See more > Live! Chat 7

Sonic News Network

Watch this page My Tools Customize

Around Wikia's network Random Wiki