Custom right click

Hi, I was wondering if there is a way to add a custom right click function to elements in the page.
Something similar to google docs, or drop box. Let’s say I have a text element, or an image…when right clicking a custom menu will appear saying, download, share, ect… (they don’t have to do these things) I just want the menu.

I have seen tutorials on how to make the custom menu with JS, just not sure how to work it in to Webflow.

Any help would be appreciated!
Thank you!

I think it’s possible but there might be some issues with custom menu commands. I think I could do something like this.