// ==UserScript== // @name Popmundo Better Repertoire UI // @namespace Violentmonkey Scripts // @match https://*.popmundo.com/World/Popmundo.aspx/Artist/Repertoire/* // @grant GM_setValue // @grant GM_getValue // @license M.I.T // @version 1.3 // @description 28/09/2024, 00:38:02 // @downloadURL none // ==/UserScript== const currentUrl = window.location.href; const bandId = currentUrl.split('/').pop(); const urlDomain = window.location.hostname; let grupos = GM_getValue('grupos', ['default']); // Inicia com o grupo 'default' se não houver nenhum const style = document.createElement('style'); style.innerHTML = ` .accordion-header { background-image: url(Images/bgr-item-header.png); background-color: #56686f; background-repeat: repeat-x; color: #fff; font-weight: 500; padding: 16px; cursor: pointer; border-radius: 8px; font-size: 12px; transition: background-color 0.3s ease, transform 0.2s ease; } /* Efeito hover */ .accordion-header:hover { background-color: #3c4b51; transform: translateY(-2px); box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); } .accordion-content { padding: 10px; border: 1px solid #ccc; border-top: none; display: none; background-color:white; } .accordion-row { /* Define qualquer estilo adicional para as linhas accordion, se necessário */ } .modal-dialog { width: 300px; height: auto; } `; document.head.appendChild(style); function createDeleteGroupModal() { const overlay = jQuery('