How can I expose my custom c function to the javascript code in the browser?

Hi,

I’d like to create my own interaction functions with the javascript in the browser to manipulate for instance HTML tags out of the unreal game.

How can I do this?

I know that I need a c file on the game side and need to amend a generated js file to get it working.

Kind regards,
Romeo