Is it possible to use js in the theme to prohibit the right click of the mouse to view the source co

Is it possible to use js in the theme to prohibit the right click of the mouse to view the source code?

You may use it on the “live demo” but not on the item source code.

In addition, that wouldn’t save the code if your concern is to protect it. ( You can just use CTRL + U to view the source code on any browser )

Thanks! I got it