Hi, I have a plugin that sends logging data to our server that we use in all of our games. Now I want to add some data to the logs that is passed in through the query params on the game url. Since web workers don't have access to the window object (and hence query params), I have figured out how to do this in the editor by putting "Browser.QueryParam("my_query_param") into an action param... this can then get passed into my log.
But 1) I would rather avoid having to paste this bit of javascript into every event action. and 2) I would also love to not depend on the Browser plugin.
If anyone has thoughts on A) how to access the window object from anywhere in the plugin code or B) call a script that is included in the plugin file-list that could access the query params and store them on globalThis or C) call the Browser plugin from my plugin code... I would appreciate it.