How to disable the recording of page text
If there’s text on your web page that could include sensitive information and you don’t want this recorded, you can add the css class "sessioncamhidetext" to an element. This will ensure all text within this element is starred out in playback.
There are two ways of doing this:
- Add the class to the body element
This will ensure all text on the page is starred out all of the time.
SessionCam can also implement this option and can configure to mask all text on a specific hostname, path or page. Let us know if you’d like us to do this on firstname.lastname@example.org.
- Add the class to specific element(s)
This will star out just the text in those elements.
If you’re using this method you must also add the class to the innermost HTML element containing the text.
The code below shows the correct way to use this tag in the example of a dropdown list. Please follow this code structure exactly to ensure the protection of sensitive data — a deviation or mistake could result in the capture of sensitive data.
Contact us on email@example.com if you need any help or advice on this.
<li class="sessioncamhidetext">Address line 1</li>
<li class="sessioncamhidetext">Address line 2</li>