react-anticapture
Version:
A lightweight React component that helps prevent users from capturing (copying, selecting, printing, or screenshotting) sensitive information rendered on your website. Perfect for privacy, security, and content protection in React applications.
2 lines (1 loc) • 557 B
CSS
:fullscreen,:-webkit-full-screen,:-moz-full-screen{background-color:#0000}._anticapture-wrapper_o02wf_15{position:relative}._alert-anticapture_o02wf_23{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1000;text-align:center}._user-select-on_o02wf_41{-moz-user-select:none;-webkit-user-select:none;-o-user-select:none;user-select:none}._anticapture-blur-page_o02wf_61{filter:blur(6px);pointer-events:none}@media print{._anticapture-wrapper_o02wf_15,._alert-anticapture_o02wf_23,._anticapture-blur-page_o02wf_61{display:none}}