Block right click or disable keyboard on web pages
Hello frn'ds,
Today i was searching some tricks about protecting web contents, during this i have found one interesting trick (i.e. html code) by which we can disabled the context menu in browser. This code not only block the right clicking in the browser , it also blocks the keyboard's key press events.
Benefits of this code,
1. Can prevent View Source of your html page.
2. Can protect your page contents.
3. Can protect your web images and so on.
click here to read more or know more
Today i was searching some tricks about protecting web contents, during this i have found one interesting trick (i.e. html code) by which we can disabled the context menu in browser. This code not only block the right clicking in the browser , it also blocks the keyboard's key press events.
< body oncontextmenu="return false;">
Benefits of this code,
1. Can prevent View Source of your html page.
2. Can protect your page contents.
3. Can protect your web images and so on.
click here to read more or know more
Comments
In which browser and OS you are testing.