Detect Client / Conditional Render Based on Client

(Emmett Palaima) #1

I am working on a react web component that will be rendered within a desktop app using JUCE WebBrowserComponent:

I would like my react page to only render when it is accessed from within the app. Is there a way that I can detect information about which client is accessing the react page which would be well suited to this purpose?

To summarize I would like my page to be able to detect if it is being accessed from with the desktop app and render accordingly.