Does the engine support browser detection?

I’m having a issue with Safari, (Memory limit, and other issues) on Mac, and I’m looking for a way in the engine to check the browser (Safari in this case) to unload some resources.

can you elaborate more?

I’m looking for a way to detect if a user is playing on safari within the engine, as I’m using the toolkit it’s easier for me to use engine functions rather than having to edit the JS on build / export of the toolkit.

Or would you like me to elaborate on what’s not working?

well we do not sniff the user agent (only to remove unsupported features). You will have to provide specific JS code