How to anonymize sensitive page content?

You can add a data-ls-disabled attribute to an HTML element. This attribute will anonymize the content, e.g. the surname will be replaced with asterisks, like in the example below:

Anonymizing data

The attribute is applied to all child elements, too. In the case of regular clicks and rage clicks, clicking on an anonymized element won’t reveal the text value.

Anonymize whole text content inside .user-info:

<div data-ls-disabled class="user-info">
<p>Logged as: <span>John Doe</span></p>

Anonymize only sensitive element:

<div class="user-info">
 <p>Logged as: <span data-ls-disabled>John Doe</span></p>

Didn’t find an answer?

Try using the search engine or just contact us

hello@livesession.ioChat with us

Start using LiveSession for free now.

Free 14-day trial

No credit card required

Easy setup