---
title: "Discussion on \"How to disable right-click on your website?\" | Hashnode"
description: "Discussion on \"How to disable right-click on your website?\". Disabling right-click on websites provides basic security so that people don't save images and copy links and text. \nToday, in this article I will show you how you can also disable right-click on your website.\nLet's disable the right-click\nTo disable..."
url: "https://hashnode.com/posts/how-to-disable-right-click-on-your-website/625653a9b32ddd968bbecb29"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to disable right-click on your website?](https://codewithsnowbit.hashnode.dev/how-to-disable-right-click-on-your-website?utm_source=hashnode&utm_medium=feed)

Disabling right-click on websites provides basic security so that people don't save images and copy links and text. Today, in this article I will show you how you can also disable right-click on your website. Let's disable the right-click To disable...

Apr 13, 2022 · 1 min read · codewithsnowbit.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#html5](https://hashnode.com/tag/html5)

## Written by

[Dhairya Shah](https://hashnode.com/@codewithsnowbit)

@codewithsnowbit

  
[View profile](https://hashnode.com/@codewithsnowbit)

Frontend Web Developer | Technical Writer

I am 17 years old and a young passionate and self-taught frontend web developer and have an intention to become a successful developer. I usually write about JavaScript and Web Development and share some tips in the articles.

## Responses 1

Markdown supported · ⌘↵ to post

[Tiia](https://hashnode.com/@TiiaAurora)

[Apr 13, 2022](https://hashnode.com/posts/how-to-disable-right-click-on-your-website/625653a9b32ddd968bbecb29/comment/6256f16ce58c4ac41a675623)

It's important to not tho, that this is a big accessibility flaw and you should avoid using this practice unless you have no other option. But usually you have.

[Dhairya Shah](https://hashnode.com/@codewithsnowbit)

[Apr 14, 2022](https://hashnode.com/posts/how-to-disable-right-click-on-your-website/625653a9b32ddd968bbecb29/comment/6256f16ce58c4ac41a675623#reply-625812af52fb7bd53380ad68)

Totally agree with you, Tiia! Even I have never disabled right-click in any project. I have shared this article just to share my knowledge with other folks 🙂

Thanks for reading! Have a good day!
