- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2016 07:34 AM
Is there any way to get client browser info before they log in, I know that there is the gs.getsession() which contains a method to obtain the client ip address, but I was wondering if I could figure out whether someone was connecting with chrome on android, or edge on windows, etc.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2016 07:57 AM
You could pretty easily redirect them to a custom public ui page that does that. Just pass in some parameters to the url and use some client side javascript to detect their browser version and redirect them.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2016 08:23 AM
Could you describe the question a little more? I'm not completely sure what you mean by that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2016 08:27 AM
I just can't seem to find a java class that would tell me wether a user is on mobile or not, I found one that returns the browser i.e. chrome, but that's all it does.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2016 02:39 PM
If you're doing it client side you can use something like the method that is described in the following post. I don't believe there is a ServiceNow specific client side method.
javascript - Detecting a mobile browser - Stack Overflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-14-2016 11:38 AM