Webapp Creator desktop mode
-
Hello, is there a way to load the desktop version of the website instead of the mobile? There's a banking site I want to create a webapp for, but the site doesn't appear to be designed for mobile as it becomes very crunched together and somewhat unusable.
-
Hello @dieharddan
This may help you : http://docs.ubports.com/en/latest/appdev/webapp/guide.html#command-line-arguments
I think forging the user agent might work.But maybe there is a more elegant solution.
-
I'm not quite sure how to use the info you provided but looking at the webapp under custom, I noticed there's a spot to enter a custom user agent, so i tried:
Mozilla/5.0 (X11; CrOS x86_64 8172.45.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.64 Safari/537.36
didn't work
-
@dieharddan - this user agent string has worked for me for a few different webapps needing desktop mode:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.80 Safari/537.36
Best regards,
Steve Berson -
@TotalSonic hmm i tried that string but it didnt change anything; i tried desktop mode on morph browser as well and it doesnt seem to do anything either. maybe has to do with being on the edge channel?
-
@dieharddan said in Webapp Creator desktop mode:
@TotalSonic hmm i tried that string but it didnt change anything; i tried desktop mode on morph browser as well and it doesnt seem to do anything either. maybe has to do with being on the edge channel?
hmmm - maybe it is a problem of Webapp Creator not functioning correctly in the Edge channel currently - or maybe it is a problem with the website you are trying to link to. You could test out the Wire UT and MeWe UT webapps that are available in the Open Store - because they both use the user agent string I posted to bypass what would either wise get you routed to a page asking you to download Android apps.
Best regards,
Steve Berson