Selectors can also be scoped by URL or glob pattern by providing an Object where the key is the URL or glob pattern and the value is the array of String CSS Selectors to redact when viewing that page.
The example below will always redact any element with the redacted class but will only redact all input elements when viewing any example.com page.
Adding selectors via the dashboard can be useful if your app is already in production and you need to redact a field retrospectively, either due to a missed redaction entry in the app or changing requirements.
For highly privacy sensitive application you may sometimes want to redact everything on the screen, then selectively "unredact" only the parts your support agents should be able to see. This is particularly useful on applications that require a higher privacy standard or where only specific sections of the application should be visible to the agent.
To ensure everything is redacted by default add body to the redaction selectors then you can specify elements to be unredacted.