1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Make Shoutbox Lobby Links Clickable

Discussion in 'Public Releases' started by SirBeard, Dec 12, 2016.

Thread Status:
Not open for further replies.
  1. SirBeard

    SirBeard Web Developer

    Hello community,

    if you like joining lobbies through the links posted in the shoutbox that are often not rly linked (wrapped in an anchor tag which would make it clickable) and if you are lazy like me or if you like it simple, then you'll like the script I made for that specific "problem".

    I'm presenting you the Shoutbox Lobby Link Linker userscript
    Whenever someone posts a lobby link in the shoutbox, it'll make a clickable link out of it so you don't have to mess around with copy and paste etc.


    1. Install the Userscript-Manager Tampermonkey (Website: http://tampermonkey.net/)

    2. Hit the Tampermonkey Icon next to the adressbar of the browser and choose "Create new script"
    (It should say something like this)
    It will open a new tab where you can find the editor to create a new script. Delete the code in there!

    3. Copy the script from pastebin (http://pastebin.com/raw/jB8RqDD2) into the code editor and hit the little save icon to save the script.

    Now it shall be rdy to be used. Refresh the page with the shoutbox and see the magic.


    You are always able to modify the script.
    I added a config, where you are able to change some settings, but be carefull when you do that.
    I recommend you to only change the following if you want to change something:

    speed: 1000,
    link_css: "

    (blue = feel free to change it, but nothing else if you are unexperienced with javascript)

    The speed value, which is currently set to 1000 (1 second = 1000 milliseconds)
    represents the delay, where the script checks the shoutbox for a new lobby link. In this case every second. If you change it, stay above 200 milliseconds or it might slow down your browser.

    link_css is the styling of the link you can change to what ever you want. Basic knowledge of CSS is recommended.


    Tampermonkey: http://tampermonkey.net/
    Script: http://pastebin.com/jB8RqDD2


    Tested and working in: Google Chrome (latest version), Mozilla Firefox (latest version)
    (If you tested it elsewhere, tell me if it's running or not and we'll find a solution)

    If you have any suggestions to optimize the script, feel free to contact me.

    Thank you and have fun!
    biohazard, NotAidan and sela like this.
  2. SirBeard

    SirBeard Web Developer

    Also when someone needs scripts or what ever (no matter what, it shall be web based;PHP or Javascript) feel free to PM me.
    biohazard and NotAidan like this.
Thread Status:
Not open for further replies.