Floating WebView bug

Unfortunately not working for me yet. I even tried this:
(triple tap doesn't do anything, and isn't assigned to anything else).

I'm mainly trying to use a Touchbar button to launch the menu (following this tutorial: https://folivora.ai/blog/post/13000), and it doesn't do anything most of the time, but sometimes it opens Chrome and then does nothing. Very odd.

I've tried the HTML file locally and on the web. I'm somewhat used to web development so I think something is awry.

Anyone else experiencing this? On brand new Macbook Pro.

Thanks in advance.

Bump... any ideas?