| Summary | Adds a gender filter bar to the StashDB edits page, letting you show only edits involving performers of a selected gender. | |
| Repository | https://gist.github.com/FlashSpazzbo/eba8d9abe47f873d8d5db673c4beba80 |
StashDB Edit Gender Filter
The Problem
The StashDB edits page (/edits) shows all pending, accepted, and rejected edits in a single stream — scene edits, performer edits, studio edits, tag edits, all mixed together. If you want to focus on edits involving performers of a particular gender (e.g. reviewing only scene edits that include female performers), there’s no built-in way to do it.
Features
Gender filtering — Multi-select buttons let you filter by any combination of genders. Click Female to see only edits involving female performers. Click Female + Non-binary to see edits involving either. Buttons are auto-detected from the current page, so you only see genders that are actually present.
Two detection methods — The script reads gender from both scene edit performer lists (SVG gender icons) and performer create/modify edits (the plain-text Gender field), so it catches both types of cards.
“Hide edits with no gender listed” toggle — Studio edits, tag edits, and other non-performer edits are shown by default. Flip this checkbox to hide them when you only care about performer-relevant content.
Live counter — Shows “Showing X of Y edits” with active filters listed.
SPA-aware — The filter bar rebuilds automatically when you paginate or navigate, and if new genders appear on a new page, the buttons update to match.
Installation
Requires a browser extension such as Tampermonkey or Violentmonkey.
Auto-updates are supported — Tampermonkey will check the Gist for new versions automatically.
Notes
- Filters are client-side only. They hide/show edit cards with CSS — nothing is modified server-side, and no API calls are made.
- This was developed with Claude (AI). I’m not a JavaScript developer, so bug reports are welcome but don’t expect instant turnaround on feature requests. If you know JS and want to improve it, the Gist is public.
Changelog
1.0.1
- Added auto-update URLs
1.0.0
- Initial release with multi-select gender filtering, auto-detection from both scene edits and performer create/modify edits, and “hide edits with no gender listed” toggle




