How to disable context text selection menu in browser? Is it possible?
This is how text-selection-menu is look like:

Another anwser on requirement of @OnengLar. Here is just a small trick to do that using js and html.
function clicked(event){
event.preventDefault();
//Custom popup here
alert('Right clicked me');//For now just showing an alert
}
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<span oncontextmenu="clicked(event);">Select me and see my different behaviour</span>
</body>
</html>
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