Skip to main content

Content Protection

How it works​

Content Protection makes it harder to copy your store's content by disabling actions such as copy shortcuts, right-click, text selection, and dragging of text and images. You choose which actions to disable, and whether the protection applies to all users or only non-admin users.

Step 1: Open the feature​

From your Shopify admin, open LV - Product Badges → Store Optimizations → Content Protection.

Step 2: Activate the feature​

This feature requires the Lavar app embed to be enabled in your Shopify theme. If it's already enabled, go to step 3.

  1. Click Activate app embed, then save your theme changes in the Shopify theme editor.
  2. Return to the app and click Verify now.
  3. Turn on the toggle beside This setting is deactivated.
  4. Click Save at the top of the page.

For detailed instructions, see How to Enable App Embed and App Blocks in Lavar.

Step 3: Choose protection settings​

Under Settings, select the actions you want to disable.

  • Disable common keyboard shortcuts: Copy (Ctrl + C / ⌘ + C), Cut (Ctrl + X / ⌘ + X), Save (Ctrl + S / ⌘ + S), Print (Ctrl + P / ⌘ + P), Capture screen (PrtScn), and View source (Ctrl + U / ⌘ + U).
  • Disable right click: The right-click menu.
  • Disable text selection: Selecting text with the mouse or with Ctrl + A / ⌘ + A.
  • Disable dragging of text and images: Dragging text or images from the page.

Then choose who the protection applies to: All users or Non-admin users.

If you change any settings, click Save at the top, then check the protection on your storefront.

Need help?​

If visitors can still copy text or right-click on your store, email us at [email protected] with your store URL and the options you selected, and we'll check it for you.

Was this article helpful?