Microphone usage browser popup stops working

I am using the microphone example here examples | p5.js and it works only but just for the first time. after page refresh the browser stops asking for microphone usage the program stops working.
how can i re-enable the microphone after each browser refresh?

thank you

Hi @processing_user,

On questions regarding browser issues it would be quite useful to let the supporters at least know which browser you are using. :slight_smile:

Check this.

— mnse

sorry for that, i am using firefox but right now it is working after i reinstalled the libraries and added the dom.min.js
but i am still testing if the problem comes up again…

the problem persists.
after a while with several refresh the microphone usage alert from the browser does not show up…is there any way we can enforce the browser to ask for microphone usage?