How to disable right click on your website using javascript?

preview_player
Показать описание
Today in this video we will learn how to disable right click on your website via javascript.
Follow the steps to disable right click on your website using javascript:
Step::1 Login to your cPanel and go to File Manager section
Step::2 Click on public_html and edit the .html file for which you want to disable the right click option.
Step::3 Right click over the file and choose the Edit option
Step::4 Enter the code given in the link below under the body tag
Step::5 Once you have added the code, click on Save changes button and close the editor.
Now test the file from a new tab in your web browser. You will find that right click has been been successfully disabled.
Thanks for Watching this video !!! We hope this was helpful to you all.

If you have any suggestions or problems related to this video, please let us know via the comment section below.
Рекомендации по теме
Комментарии
Автор

how to disable right-click on any solution? bcoz I searched no one has solutions and i think its impossible to disable right click on iframe please help me to out from this

maheshbhandari
Автор

How to disable right click on google sites

divyab
visit shbcf.ru