ウィンドウの最小化ボタンを削除
scriptsフォルダ内のmocha.jsを開いてください。
1991行目から下記のような関数があると思います。
minimizebutton: function(ctx, x, y, rgbBg, aBg, rgb, a){
// Circle
ctx.beginPath();
ctx.moveTo(x,y);
ctx.arc(x,y,7,0,Math.PI*2,true);
ctx.fillStyle = 'rgba(' + rgbBg.join(',') + ',' + aBg + ')';
ctx.fill();
// Minus sign
ctx.strokeStyle = 'rgba(' + rgb.join(',') + ',' + a + ')';
ctx.beginPath();
ctx.moveTo(x - 4, y);
ctx.lineTo(x + 4, y);
ctx.stroke();
},
この関数の内容(2行目から最後から2行目)を/*~~内容~~*/とコメントアウトまたは、削除してください。
/*
// Circle
ctx.beginPath();
ctx.moveTo(x,y);
ctx.arc(x,y,7,0,Math.PI*2,true);
ctx.fillStyle = 'rgba(' + rgbBg.join(',') + ',' + aBg + ')';
ctx.fill();
// Minus sign
ctx.strokeStyle = 'rgba(' + rgb.join(',') + ',' + a + ')';
ctx.beginPath();
ctx.moveTo(x - 4, y);
ctx.lineTo(x + 4, y);
ctx.stroke();*/
これで、このページにあるウィンドウのように、閉じるボタンが消えると思います。