Do not redirect to the platform when not running inside an iframe