Web viewers are session based, meaning as soon as you close your file any changes in a webviewer are lost. So it can't store cookies for you.
As for your user agent, see this article:
Directions on how to change it in all the major browsers for OSX.
Unfortunately, no way to control this inside of FileMaker, but plenty of ways to change it on browsers. I did a search through the .plist preferences file and it's not set in there.
Well, in my case the session seems to be reset each time a leave a tab with the webviewer. If I return to that tab with a different URL, but on the same target site, it starts over again.
Strangely if I surf with Safari the Sites do not turn up with the mobile theme, only if I use the webviewer. But I will have a look at the link you mentioned to see if this gives any help. Thanks!
Things like WebDirect and FileMaker Go can’t use MBS though, so you’re limited to only the desktop.
How wide/tall is your web viewer? Are you getting a mobile version for more than one web site? It's possible the site(s) you are visiting in the web viewer are 'responsive' and adjusting to the dimensions of what they perceive as the size of the web browser.
The user agent string for the web viewer is rather normal and certainly does not mention mobile safari, so I'm not sure why you'd be getting the mobile version unless the site is responsive.
You might want to test things with a really large layout and web viewer and see if you still get the 'mobile' version.
thanks, this is good hint I will follow. I myself doubted already that the user-agent could be the reason for this. But interestingly the user-agent is NT the same if I use Safari oder Filemaker (webviewer). The following shows above FM and below Safari - and a slight difference in the user-agent:
Well, I thought my webviewer I used were wide enough but I will check it, if a broader webviewer dimension might provoke different (and then responsive) website design. Again, very useful hint.