Disable the context menu over my extension pop-up window

Is it possible to disable the context menu over my extension pop-up window?

Did you tried to call preventDefault in the contextmenu event handler?

window.addEventListener('contextmenu', e => e.preventDefault(), true);

I had tried something simular but it didnt work. I tried with your code and it did.

Thanks

1 Like