Is there any way of spoofing a user agent for my app?

I’m trying to iframe a website and get it to show the mobile view, but after some snooping around it looks like it only works when the user agent is set to a mobile one, is there any way of spoofing a user agent for my app?

Use the user_agent manifest flag.