Can I disable the mouse back button / forward button?

Mouse back / front buttons cause unexpected problems. I would like to disable these features. Windows environment. If you have an alternative, please let me know.

Have you found a solution for this? I’m trying to do exactly the same thing. I tried using with event.preventDefault()