Block mobile browsers like Safari but allow portal on ServiceNow Agent app.Issue Step 1: Add devices to system properties Go to system properties or sys_properties.listFind glide.ui.m_agentsAdd ipad, android, and Macintosh to Value Step 2: Create a redirect for mobile view. Go to System UI->UI Pages or sys_ui_page.listCreate NewName: “$m”HTML: <html><p> Redirecting to Google </p></html>Client Script: document.onload = redirect(); function redirect(){ if(navigator.userAgent.match(/Macintosh/i) && navigator.maxTouchPoints == 0) // Safari on Mac, Exit Mobile view window.location.href = "/navpage.do?sysparm_device=doctype"; else // Mobile device (including Safari on iPad) window.location.href = "https://www.google.com/";} Step 3: Create Widget UI Script Go to Portal->WidgetsFind “Add Widget”Scroll down and add new DependenciesAdd New JS Include. Make sure you are in Global scope. Click on UI Script and create new UI ScriptsAdd script: (function() {if (!snmCabrillo.isNative() && detectmob()) window.location.href = "https://www.google.com/";})();function detectmob() { if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i) ){ return true; } else { return false; }}