Greasy Fork is available in English.

Wikiwand Sidebar Hover

ToC will expand when hovered over and collapsed when the mouse exits

Автор
Bisquick69
Инсталации дневно
0
Инсталации общо
12
Рейтинг
0 0 0
Версия
6.9
Създаден
23.09.2022
Обновен
23.09.2022
Лиценз
MIT
Работи на

As described in the description section of the script:

Super simple script that will merely expand the ToC (table of contents sidebar) on wikiwand.com when the sidebar is hovered over and collapse the sidebar when the mouse exits that sidebar, as opposed to the more manual (and dare I say more LIMITED gasp) expanded/not-expanded (ie no auto via hover state, merely shrunk state or fully expanded state) show/hide functionality. Ok, you get it...hopefully...actually, here:

https://i.imgur.com/QFp8EtP.gif

As commented within the script itself:

no idea what I'm doing really, feel free to make infinitely better and gooder and tremendous; the commented out part was an attempt to ensure ToC (table of contents) was in expanded state before shrinking but the first if statement filters out that possibility so it was ultimately pointless, but I left the class in there if anyone wants to use it for anything dope or something?!