diff --git a/tampermonkey-script/GAIA-Swissknife.user.js b/tampermonkey-script/GAIA-Swissknife.user.js index 67d1999..a831ccf 100644 --- a/tampermonkey-script/GAIA-Swissknife.user.js +++ b/tampermonkey-script/GAIA-Swissknife.user.js @@ -5,7 +5,7 @@ // @downloadURL https://luigidacunto.com/scripts/gaia-swissknife/tampermonkey-script/GAIA-Swissknife.user.js // @changelogURL https://luigidacunto.com/scripts/gaia-swissknife/tampermonkey-script/CHANGELOG.md // @author Luigi D'Acunto -// @version 1.1.0 +// @version 1.1.001 // @description Aggiunge funzionalità alle pagine di GAIA // @match https://gaia.cri.it/* // @require https://code.jquery.com/jquery-3.6.0.min.js @@ -413,7 +413,7 @@ GM_addStyle(GM_getResourceText("DataTablesCSS")); if ($corsoLink.length === 0) return; // blocco non relativo a richiesta corso const corsoText = $corsoLink.text().trim(); - const match = corsoText.match(/([A-Z]{3,}\/\d{4}\/[A-Z]+\/\d+)/); + const match = corsoText.match(/([A-Z]{3,}\/\d{4}\/[A-Z]+(?: [A-Z]+)?\/\d+)/); if (!match) return; const codiceCorso = match[1];