External Left Side Bar

localStorage switches for testing

Run the below localStorage commands in the browser console to trigger certain behaviour for testing.

Disable chat

For disabling the chat tab on the join class page.

  • localStorage.setItem("disableChat", "true"); to disable chat on the join class page.
  • localStorage.setItem("disableChat", "false"); to clear it and re-enable chat.

Invalid tokens

For testing what happens when the hosting site sends invalid tokens.

  • localStorage.setItem("sendABadToken", "true"); to trigger the bad token condition.
  • localStorage.setItem("sendABadToken", "false"); to clear it and send good tokens again.

Null tokens

For testing what happens when the hosting site sends null tokens.

  • localStorage.setItem("sendANullToken", "true"); to trigger the null token condition.
  • localStorage.setItem("sendANullToken", "false"); to clear it and send good tokens again.
External Right Side Bar