Disable F5 or Refresh on browser

Hi,

I use Collabora online on a tab (not through an iframe). When a user press F5 ou refresh (Ctrl+R) Collabora close the file and then repoen it.
Is there a way to avoid it ?
I can do it with Javascript but I don’t know haow with Collabora Online.

Regards.

As far as I know, not possible for the time being.

Hi @bearon

Thanks for your reply.
I’ve tried to modify the branding.js file with no success !!!

Regards.

Right, branding.js is just the branding, nothing functional.

This should now be fixed via the following commit:

Hi,

It works fine !
It has been already set in the 21.11.3.6 deb package.

Thank you.
regards