Preventing browser default action

kudvenkat
Youtube
Related Topic
:- Web Development Javascript

In this video we will discuss how to prevent browser default action. First let's look at some of the browser default actions. For example, 1. When you click on a link, the browser navigates to the page specified in the link 2. When you right click on a web page, the browser displays the context menu In some situations you may want to prevent these default actions of the browser. For example some of the websites prevent you from right clicking on the page. Disabling right click is annoying users. Many people say they disabled right click for security, because they do not want their content to be copied. 

Comments