Follow these steps to prevent users from right-clicking in your sharepoint site.
- Add a content editor web .
- Add the following piece of code in the source editor of the content editor web part.
<HTML>
<BODY OnContextMenu = "return false;">
No Right Click on this Page.
</BODY>
</HTML>
- Save the content editor web part.
Users are now prevented from the right click option on the page.
0 comments:
Post a Comment