B4J Question [ABMaterial] Set Phone Browser to Desktop site mode

Philip Chatzigeorgiadis

Active Member
Licensed User
Longtime User
Is there a way in ABMaterial to set the Phone Browser (let's assume it is Chrome) to Desktop site mode?

Rationale:
I want to avoid having to expect from the user to enable the Desktop site mode on the 3-dot menu of Chrome.
With ABMaterial the software can detect what type of device is used [either through Page.isphone , Page.istablet, Page.isdesktop or through some parsing of the string returned by ws.UpgradeRequest.GetHeader("User-Agent")]. If a phone is detected, I would like to have the software change the browser to Desktop site mode.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…