On a shared server mod_autoindex does not put the classes into the th and td tags.
So no class indexcolname:
const nameColumns = Array.from(document.querySelectorAll('tbody .indexcolname'));
My workaround for current fancy-index:
const nameColumns = Array.from(document.querySelectorAll('tbody td:nth-child(1)'));
On a shared server mod_autoindex does not put the classes into the th and td tags.
So no class indexcolname:
My workaround for current fancy-index: