Skip to content

[Feature Request]: text & input masking enhancements #1096

Open
@mdellanoce

Description

@mdellanoce

Preflight Checklist

  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

What package is this feature request for?

rrweb

Problem Description

I'm looking to make enhancements to text & input masking (PR to follow, for your consideration). My team is getting ready for a rrweb deployment and we'd like to offer "privacy by default" to avoid collecting sensitive information. My understanding is that the current way to accomplish this is maskTextSelector: '*', however, we would also like to offer the ability to unmask portions of the page that the customer deems safe.

Proposed Solution

  • add maskAllText option, mirroring the naming of maskAllInputs
  • add unmaskTextSelector and unmaskTextClass to selectively unmask certain areas.
  • inputs respect text masking options in addition to input masking options for finer control over which inputs are masked or unmasked.

Alternatives Considered

I'm not aware of any current solutions for unmasking content with rrweb.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestThings want to be addedhas PRalready has pull request for it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions