15 real-world copy/paste prevention techniques in one page. Try selecting, copying, pasting, and right-clicking each test below. Then enable Copy Freedom and try again.
oncopy="return false"
Common
The simplest and most widespread method. The HTML element has an inline oncopy attribute that prevents copying.
onpaste="return false"
Common
Blocks pasting into input fields. Commonly used on password confirmation fields and banking sites.
oncontextmenu="return false"
Common
Prevents the right-click context menu from appearing. Often used by image galleries and news sites.
onselectstart="return false"
Common
Prevents text from being selected at all. Without selection, copying is impossible.
user-select: none
Common
Pure CSS approach that disables text selection. Used by recipe sites, news paywalls, and academic papers.
copy / paste with preventDefault
Common
JavaScript event listeners that intercept copy and paste events and cancel them. More sophisticated than inline handlers.
contextmenu block
Common
Context menu is blocked at the document level, affecting the entire page. A common pattern on photography and lyrics sites.
Intercepts keydown events for Ctrl+C, Ctrl+V, and Ctrl+A to block clipboard shortcuts regardless of other protections.
Allows copying but silently replaces clipboard content with different text (e.g., attribution, ads, or garbage).
getSelection().removeAllRanges() on mouseup
Moderate
Allows you to start selecting text, but immediately clears the selection when you release the mouse button.
::selection { background: transparent }
Moderate
Text can technically be selected, but the selection highlight is invisible, tricking users into thinking selection is disabled.
<div>
Moderate
An invisible div sits on top of the content, intercepting all mouse events. You can see the text but can't interact with it.
pointer-events: none
Moderate
All mouse interactions (click, hover, drag, select) are completely disabled on the element via CSS.
ondragstart="return false"
Common
Prevents drag-and-drop of text and images. Used on image-heavy sites to prevent saving images via drag.
A MutationObserver watches for attribute changes and immediately re-applies oncopy and user-select: none if they are removed. This defeats naive unblock scripts.
Copy Freedom defeats all 15 techniques above — safely, with no malware or tracking.
Add to Chrome — It's Free