Is there a way to override the “undo” and “select all” in right click context menu of the browser over textarea?
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You cannot edit the browser’s built-in context menu, but you can disable it and replace it with your own using the
oncontextmenuevent on thewindowobject. I would caution that this is often a bad idea. Users expect to find the built-in context menu and are often frustrated when it isn’t there.