How to make right click menu dissapear?

Did see a thread about that yesterday but now I can´t find it!?
What´s the code to make the right click meny dissapear so that you can´t use “forward”, “backward” and so on.

Can´t belive I lost the thread…sorry.