More and more applications are moving to the cloud: Google Docs for productivity apps, Meebo for instant messaging, Gmail for e-mails, Salesforce for CRM, etc.
Yet, I've noticed that, unlike their desktop counterparts, very few of those web apps leverage the mouse's "right click". Most of the time, when right clicking in a web app, I get the standard browser right click menu.
I don't believe it has to do with technical implementation since modifying the right click menu is quite trivial in Javascript.
Is there an actual reason that I am missing?
EDIT: The most popular reason seems to be that it's not what user expect. Another mentioned reason was that some users disable Javascript - which is a valid answer -, but in our case, we can discard this possibility since we're talking about applications that require Javascript regardless of the right click option.
Now, let me expand my question a bit:
To protect their images Website owners, most of the time invest a lot in getting some high-quality images for displaying on their websites. They usually feel wasted when people download them for free and use them on their websites. As a way of protecting the images, they disable right-clicking.
If the left mouse button directly interacts with an object, the right mouse button often allows you to indirectly interact. Right-clicking a file gives you a list of things to do with the file, or the option to see its properties. Right-clicking your desktop background allows you to modify the desktop.
The most probable causes of the issue are as follows: A virus or malware might have affected the browser. Known bugs could be responsible for the problem. Extensions on the browser might be preventing the right-click from working.
To override the default browser right-click menu, the first step is to prevent the default right-click behavior. This can be done by listening to the contextmenu event and using the preventDefault() method on the event.
Most users expect the right-click menu to bring up the browser context menu, so doing it to bring up an app-specific menu is not something they would try.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With