It’s really easy to disable by right-clicking on Shopify. You don’t need any apps or extra clutter. You will be able to do this within 1 minute.
There are many reasons why you wouldn’t want right-click enabled on Shopify, some of which:
- Stop people copying your content
- Stops people from using your images and videos
Follow the steps below to learn how to disable it.
1. Go to “Online store” > “Themes” > “Actions”
Duplicate your theme for safety (optional)
Duplicate your theme in case you mess something up. It’s good practice to do this before making code changes, then it will be easy to revert back.
Go to “Edit code”
It’s as simple as this, follow the steps below.
2. Click “Theme.liquid”
3. Copy & paste this code above “</head>”
Copy & paste the below code above the closing </head> tag. Find this by following the steps below:
- Type Cmd. + F on Mac (Ctrl. + F for Windows)
- Type and search for “/head“
<script>
/* don't expect this to work on older ie */
window.oncontextmenu = function () { return false; }
</script>
Done!
That’s all you need to do to disable right-click on your Shopify store. There’s no need to install unnecessary apps, anyone can do this!