Unity Button as HTML Button

Hello,

So I am working on Unity WebGl game and I need to open a popup on button click but the problem is the browser blocks the popup. So how do i solve it?? Please help.
On Button click i call a function written in index.html file and that function opens a popup.

Please help me out on this.

Ok I got answer You can’t do this. To open popup make a button in html file and enable disable according to your use.