Any way to prevent right-click on table forms?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2025 04:53 AM
I would like to prevent users' right-click on table forms, but is there any way? I think it depends on web browser, though.
Best Regards,
Aki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2025 04:58 AM
Hi @Aki18
Ideally, that's not recommended, but can you please explain what you are trying to achieve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2025 05:09 AM
Hi @PrashantLearnIT ,
Thank you for your reply. I would like to prevent users from checking page source of the record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2025 05:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2025 11:39 PM
I created the following onLoad Client Script for Incident table with "Isolate script" = "false" and it successsfully blocked the browser's right-click.
However, it didn't work when I created the script for custom table in the custom app. Does anyone know why it doesn't work?
function onLoad() {
document.addEventListener('contextmenu', event => event.preventDefault());
}