I can't bother to make this automatic, but here is a bookmark you can click to disconnect from the game manually after it has completed.
Just change the bookmark url to this:
javascript:lichess.socket.destroy();$('.table_inner .username').removeClass('on-game');$('.table_inner .username .status span').attr('data-icon', '0');
Someone else can probably pick up the slack and make an extension that somehow notices when the game has ended...
Just change the bookmark url to this:
javascript:lichess.socket.destroy();$('.table_inner .username').removeClass('on-game');$('.table_inner .username .status span').attr('data-icon', '0');
Someone else can probably pick up the slack and make an extension that somehow notices when the game has ended...