lichess.org
Donate

LICHESS Enhancer (aka Topbar menu)

Version updated to 1.4
- Added function to highlight the current menu entry
- Added ability to hide TV ads in homepage from some users.
- Menu entries are now internationalized (RaulJose)
- Small bug fix with forum part (RaulJose)
#11, internationalised menu entries seem to have the first letter lowercased. Could you look into it? Thanks for all the amazing work, as always.
Currently only the top-bar menu are in uppercase, only sub-menu are in lowercase.
I think to set the entire menu (+sub-menu) in uppercase or lowercase.

Also you can try to play with these lines 59-61
// UPPERCASE for topbar or every submenu?
'#primary_nav_wrap > ul {text-transform: uppercase !important;}' +
'#primary_nav_wrap > ul > li > ul {text-transform: none !important;}' +
a possible fix is to delete or comment these lines with // before each line OR /**/ within single quotes
for example here:
// '#primary_nav_wrap > ul {text-transform: uppercase !important;}' +
// OR
'#primary_nav_wrap > ul > li > ul {/*text-transform: none !important;*/}' +

This userscript has become almost useless since the official topmenu is back. But have no fear, I will continue to hold it for a while and add new features.

Version updated
// changelog
// version 1.6
// Disabled the custom topmenu since the official one is back
// Fix font-size in #tournament because too small

This topic has been archived and can no longer be replied to.