Post: Mobile & Tablet Friendly Custom Shoutbox
06-15-2014, 11:17 AM #1
Default Avatar
Brad
Guest
(adsbygoogle = window.adsbygoogle || []).push({});
Mobile Friendly Custom Shoutbox


The current shoutbox on the android & iOS app isn't very user friendly, with the textbox at the top of the page, making it more effort then it needs to be to send a message. Here I show you my custom shoutbox that has been made with Tablets & Mobile Devices in mind.

This will work on PC & Android using google chrome, I haven't tested with anything else.

What it will look like on tablets:
You must login or register to view this content.

What it looks like on mobile phones:
You must login or register to view this content.

The script was only for personal use, so improvements could still be made. I didn't obfuscate it so you can make changes all you want! This works on Google Chrome on PC and Android, I haven't tested on anything else.

    
$(function(){$('head'Winky Winky.append('<meta name="viewport" content="width=device-width, user-scalable=no">'Winky Winky;$('.container td:nth-child(2)'Winky Winky.hide();$('#well'Winky Winky.css({'background':'#FFFFFF','padding':'0px'});$('#shoutbox_frame'Winky Winky.css({'width':'99%','margin':'auto'});$('.bootstrap-navbar'Winky Winky.css({'position':'absolute','bottom':'0px'});$('.bootstrap-navbar-inner'Winky Winky.css({'padding':'0px','background':'#FFFFFF'});$('[name=vbshout_pro_shoutbox_editor]'Winky Winky.css({'color':'#0c0c0c','font-family':'calibri','font-size':'19px','border':'none','background':'#FFFFFF','-webkit-box-shadow':'inset 0 1px 1px rgba(0, 0, 0, 0)','-moz-box-shadow':'inset 0 1px 1px rgba(0, 0, 0, 0)','box-shadow':'inset 0 1px 1px rgba(0, 0, 0, 0)'});$('[name=vbshout_pro_shoutbox_editor]'Winky Winky.attr('placeholder','Type a message...'Winky Winky;$('.container table'Winky Winky.attr('width','100%'Winky Winky;$('.container tr'Winky Winky.append('<td><input type="button" name="bradisawesome" style="margin-right:10px;width:31px;height:27px;margin-top:-9px;border:none;background: url(https://i.imgur.com/nzYsQFL.png) no-repeat #FFFFFF;background-size:30px 27px"></td>'Winky Winky;$('[name=vbshout_pro_shoutbox_editor]'Winky Winky.css('width','100%'Winky Winky;$('.container td:first-child'Winky Winky.css({'padding-right':'20px','padding-left':'10px'});$('head'Winky Winky.append('<style>.hidden-phone{display:none;}.smallfont {font-size:16px;font-family:calibri }#shoutbox_frame div:first-child{display:none} #shoutbox_window {padding-top:5px;}</style>'Winky Winky;$('.bootstrap a'Winky Winky.css({'font-size':'18px'});$('#vbshout_pro_tabs tbody tr td .alt1:nth-child(2)'Winky Winky.append('</table>'Winky Winky;$('.alt2'Winky Winky.css({'padding-top':'1px','padding-bottom':'2px'});$('[name=bradisawesome]'Winky Winky.click(function(){return InfernoShoutboxControl.shout()})});



To use this, You need to go onto the detatched shoutbox (You must login or register to view this content.). When you are here, all you need to do is type "javascript:" into the url bar at the top of your browser, and paste the script above after it. For mobile users this is the same, I have it hosted on pastebin to make it easier (link bellow).

This will also work with the chrome extension TamperMonkey
I did remove the notice as this was made for mobile use, and as the notice took up a large amount of room, I decided to remove it.
This has only been tested on google chrome PC & google chrome Android

You must login or register to view this content.

Hope you find this as useful as I do Smile
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Brad for this useful post:

Insight

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo