Commit Graph

3 Commits

Author SHA1 Message Date
Sascha c6a92ea26c Fix exclusion grouping duplicate images together
Exclusions were keyed only by content identifier (src / role-img
label), so multiple identical images (or repeated icons) shared one
key and excluding one silently excluded all of them. Each occurrence
now gets a per-run instance number appended to the identifier, so
duplicates can be excluded individually while staying stable across
reloads.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-13 11:29:32 +02:00
Sascha 1cef0eddca Fix exclusion for non-<img> elements with role="img"
imageIdentifier() only checked currentSrc/src, which don't exist on
inline <svg role="img"> icons (common for social-media links). The
exclude click therefore silently no-op'd for those. Fall back to the
surrounding link's href or the element's aria-label as the identity.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-13 11:24:16 +02:00
Sascha ba3d2c88e8 Initial commit
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-13 10:40:23 +02:00