Hey Bubblers, I just released “Prevent Right Click Context Menu” — a very simple plugin to prevent users from opening the context menu when they right click on your app’s page.
Main features:
You can turn it on or off using workflow actions
You can add an exception element (via HTML id attribute) so that users can still open the context menu by right clicking the exception element.
It works, thank you for your work. FYI, when you leave the exception element html id blank, it causes an issue. The issue doesn’t prevent the page from working, but thought you should know. I saw the code, I think it’s because the field isn’t listed as optional. Thank you so much.
This is cool!
Perhaps it would be useful if exceptions could be made with classes also? For instance, all elements with class allow-context would work without the need to register IDs one by one…
I know class manipulation aren’t natively supported, but there are almost 1000 apps using the plugin Classify which allow just that…
Thanks for the feedback @tona – I’ve make that adjustment to make the exception element optional and pushed the update. Feel free to upgrade the plugin and take a look. Let me know how that works!
Thank you for the update. For some reason, the update is not showing in my plugins. It’s still saying version 1.0.1 is the latest available. I checked the code and it has been changed, so that’s strange.