Today I accidentally made a move thinking I was in analysis mode, when really I was not.
I wrote this quick Greasemonkey script to change the background color of analysis mode so that it would be more apparent to me next time. Here's the script if you are interested in doing the same.
//----------- CODE -----------
// ==UserScript==
// @name lichess analysis color
// @version 1.1
// @include lichess.org//analysis
// ==/UserScript==
// Restyle with css.
var GM_addStyle = window.GM_addStyle || function(css) {
var h = document.getElementsByTagName('head');
if (h) {
var style = document.createElement('style');
style.textContent = css;
h[0].appendChild(style);
}
};
function styles() {
GM_addStyle([
'body {background: #cff5f9 !important; background-color: #cff5f9 !important}'
].join(''));
}
styles();
// ------ END CODE ------