DLsite Filter Works by Category for Circle Pages

Add a combox in circle pages to filter works by category

Autor
Zero_G
Instalações hoje
1
Total de instalações
125
Avaliações
1 0 0
Versão
1.2
Criado
14/04/2021
Atualizado
22/03/2022
Licença
MIT
Aplicável a

This script will add a select under the "Sort by" select in the "Releases" section. Allowing to filter all currently displayed works by the selected category.

Selecting the title of the subcategory will filter by all the subcategories. Example, selecting '---Games---' will display works withe the category 'Adventure', 'RPG', 'Digital Novel', etc.

The select will only show the categories that correspond to the current listed releases in the circle to the to avoid clutter in the select box. If the works in the releases prior to filtering had 'Music', 'Video' and 'ASMR', only those categories will show up in the select.

Important to note that this will only filter the releases currently shown, if you have selected to show only 50 and there are more releases, it will only filter those 50. So it's recommended to change it to 100 if there are more than 50.

Changelog:
v1.2
-Fix broken alignment on select (from DLsite update)
v1.1
-Fix a bug where it would filter works on sale (box at top search results)
-Add ---None--- Filter, to going back to display all works