Navigator.getvrdisplays() not working on Oculus Quest browser

Error getvrdisplays is not a function on Oculus browser, but it does work on mozilla and did work some time ago for oculus browser

Does anyone know how fix this?

This method is part of the WebVR API and thus deprecated. Even Mozilla says you should not use it anymore.

yep, I see, thanks

and how can I start vr presentaton if I can`t get vr display?

I suggest you study the basic WebXR samples here: WebXR - Samples