View Code? Open in Web Editor
NEW
A dead-simple FireFox extension to easily toggle blindfold mode for Lichess.
Home Page: https://addons.mozilla.org/en-US/firefox/addon/lichess-blindfold-toggle/
License: Mozilla Public License 2.0
lichess-blindfold-toggle's People
Contributors
Watchers
lichess-blindfold-toggle's Issues
Needed if I want to deploy to Chrome as well.
Need to do things differently from lichess. To hide the pieces, we do
for (elt of document.getElementsByClassName("piece")) {
elt.style.opacity = "0%";
}
and to re-show the pieces we just set the opacity back to 100%.