export const Home = () => {
const search = window?.location.search
const isBlurPii = !!~search.indexOf("blurPii")
return (
<main>
<div>
SS#:
<span data-blur-pii={isBlurPii} >221-22-1560</span>
</div>
</main>
);
};
[data-blur-pii=true] {
color: transparent !important;
text-shadow: 0 0 5px rgba(0,0,0,0.5) !important;
}
/* https://css-tricks.com/fun-with-blurred-text/ */
This is a great solution for taking screen shots or recordings with live data. The end user can easily view the PII by selecting the blured text. Use other methods for hiding PII from end users.