You are here

Disable Right Clicking on Webpage, Images and Photos with JavaScript

Add the following code to the head section of your html document to disable right clicking on your webpage. This way, users wll not be able to right click and save pictures or photographs from your website.

Note: However, users can use other ways to save the photos from your website such as looking at the source code and browsing to the location of the picture and then save it.

At Vezit, we make it easy for contributors to post articles and blogs detailing their travel experience along with making it easy for users to find specific food, attractions, activities, and events based on location.