Cette solution est loin d'être parfaite mais peut pallier au manque en attendant un ajout du développeur:
This solution is far from being perfect but it can fill the gap while waiting for an addition from the developer:
Télécharger l'extension pour Google Chrome : Custom JavaScript for websites
Download the extension for Google Chrome : Custom JavaScript for websites
Cliquer en haut à droite sur l'icone de l'extension, modifier l'URL pour être :
https://boardgamearena.com
Click on the top right corner of the extension icon, change the URL to:
https://boardgamearena.com
Puis copier coller le code suivant:
Then copy and paste the following code:
Code: Select all
var menuFooter = document.getElementById("maingameview_menufooter");
if (typeof menuFooter !== "undefined" && menuFooter !== null)
{
var game = menuFooter.getElementsByTagName('h2')[0].textContent;
switch (game) {
case 'Quarto':
//QUARTO
console.log("****[QUARTO]****");
var item = document.getElementById("footer_option_value_100");
if (typeof item !== "undefined" && item !== null)
{
var content = item.textContent;
var title = document.getElementById("pagemaintitletext");
var color;
if (content.includes("2x2")) {
color = "#ff0000";
} else {
color = "#008000";
}
title.innerHTML += "<span style=\"font-weight:bold;color:"+color+"\"> "+content+"</span>";
}
break;
//For other games with a custom js
default:
//For other games without custom js
break;
}
}
Cela ajoutera ceci:
This will add this: