Page 1 of 1

Auto music with Melodice

Posted: 04 February 2025, 21:33
by azhake
Hi,

I love the Melodice music functionality, so I wrote a userscript to automatically activate the music tab on any game table. You need Greasemonkey, Tampermonkey, or Violentmonkey to use this.

Code: Select all

// ==UserScript==
// @name        Auto Activate Music Tab on Boardgame Arena
// @namespace   Violentmonkey Scripts
// @match       https://boardgamearena.com/*/*table*
// @grant       none
// @version     1.0
// @author      Andreas Jonsson
// @description 2/4/2025, 8:21:38 PM
// ==/UserScript==

window.onload = function() {
    var musicTab = document.getElementById('pageheader_music');
    if (musicTab) {
        musicTab.click();
    }
};
Enjoy!