Troubleshooting gs.isMobile() returning false when glide.ui.m_enabled is disabledSummary gs.isMobile() is a ServiceNow method that determines whether an action was taken through the mobile UI. The system property glide.ui.m_enabled enables or disables the mobile web UI. When glide.ui.m_enabled is set to false, gs.isMobile() returns false even for requests from mobile devices. This article describes a workaround to restore mobile detection in this scenario. Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Madrid and above.Instructions The system property glide.ui.m_enabled is true by default. When set to true, the function gs.isMobile() returns true if an action originates from the Mobile App, and returns false otherwise. When glide.ui.m_enabled is set to false, the logic of gs.isMobile() is skipped and it returns false regardless of the source. An alternative workaround allows gs.isMobile() to return true even when glide.ui.m_enabled is set to false. 1. Navigate to the system property glide.ui.mobile_agents. 2. Set the value of glide.ui.mobile_agents to match the default value of glide.ui.m_agents: iphone, android_phone, IEMobile, Windows Phone, iPod, Windows CE, BlackBerry, BB10. 3. Verify that the User Preference mobile_use_full.iphone is not set to true. 4. Verify that the User Preference mobile_use_full.android is not set to true. Related Links https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1709648