Skip to content

Conversation

@billyvg
Copy link
Member

@billyvg billyvg commented Oct 14, 2025

This extends ignoreCSSAttributes so that it works for inline styles as well as from stylesheet rules. Closes #250

@linear
Copy link

linear bot commented Oct 14, 2025

This extends `ignoreCSSAttributes` so that it works for inline styles as well as from stylesheet rules. Closes #250
@billyvg billyvg force-pushed the billy/replay-764-images-shown-in-replays-despite-maskallmedia-set-to-true branch from 33b98d5 to a9e62c7 Compare October 14, 2025 19:08
@billyvg billyvg marked this pull request as ready for review October 14, 2025 20:25
@billyvg billyvg requested review from a team and chargome October 14, 2025 20:26
Copy link
Member

@chargome chargome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@billyvg billyvg merged commit e924e5f into sentry-v2 Oct 16, 2025
17 checks passed
@billyvg billyvg deleted the billy/replay-764-images-shown-in-replays-despite-maskallmedia-set-to-true branch October 16, 2025 20:16
billyvg added a commit that referenced this pull request Oct 22, 2025
)

This extends `ignoreCSSAttributes` so that it works for inline styles as
well as from stylesheet rules. Closes
#250
billyvg added a commit to getsentry/sentry-javascript that referenced this pull request Oct 23, 2025
Pass `ignoreCSSAttributes` with `background-imgae` to ignore background images when `blockAllMedia` is enabled. `ignoreCSSAttributes` was expanded in [this PR](getsentry/rrweb#252) so that it also works for inline styles.
billyvg added a commit to getsentry/sentry-javascript that referenced this pull request Oct 24, 2025
Pass `ignoreCSSAttributes` with `background-imgae` to ignore background images when `blockAllMedia` is enabled. `ignoreCSSAttributes` was expanded in [this PR](getsentry/rrweb#252) so that it also works for inline styles.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhance ignoreCSSAttributes to block inline CSS

3 participants