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.
Here we taking sample.html for demonstration purpose.
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
https://pastebin.com/LzJwhtiw
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.
For more information, kindly follow us on social media like Twitter and Facebook and for video tutorials, subscribe to our YouTube channel - / redserverhost.com
Facebook Page- / redserverhost
Twitter Page- / redserverhost.com
Official Website- https://redserverhost.com
If you have any suggestions or problems related to this video, please let us know via the comment section below.
Watch video How to disable right click on your website using javascript? online without registration, duration hours minute second in high quality. This video was added by user Red Server Host 14 July 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,024 once and liked it 18 people.