teckers

Disable Right-Click on Shopify Stores [No App Needed]

disable right-click

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.

Recommended Shopify app

If you’re interested in finding more must-have Shopify apps. Get a secret 20% discount on paid plans by contacting the creators and saying, “I found your blog deal on Teckers for 20% off”.

Fileflare Digital Downloads

fileflare

Digital product delivery on Shopify + file protection.

This includes unique features no other app has, such as email tracking, fraud protection, file protection, IP address download limits (stop users from sharing the files with others) and much more.

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.

edit

2. Click “Theme.liquid”

theme.liquid file

3. Copy & paste this code above “</head>”

Copy & paste the below code above the closing </head> tag. Find this by following the steps below:

  1. Type Cmd. + F on Mac (Ctrl. + F for Windows)
  2. Type and search for “/head
<script>

/* don't expect this to work on older ie */

window.oncontextmenu = function () { return false; }

</script>
above closing /head

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!

Video tutorial

Read more