I cannot unfortunately, I’m a healthcare provider with a busy schedule, I only have a few minutes at a time between patients to work on stuff like this.
Might I suggest something like this plugin - GitHub - sylque/discpage: A Discourse plugin to create static pages and attach discussions to headings · GitHub - where you could potentially put the entire inpage gcse code and then just put a button on the header that links to that page. That seems like it would be fairly clean…