Page 1 of 1

How to enable the right-click context menu?

Posted: Thu Sep 05, 2024 12:17 pm
by the.weavster
Getting a context-menu by right-clicking seems to be disabled in SB, how do I enable it?

Re: How to enable the right-click context menu?

Posted: Thu Sep 05, 2024 12:43 pm
by the.weavster
I found the answer from RSBasic:

Code: Select all

Procedure DisableSiteContextMenu(state)
  If state
    ! $('body').attr("oncontextmenu", "return false;");
  Else
    ! $('body').attr("oncontextmenu", "");
  EndIf
EndProcedure