is there any way to get client browser/system info before they login?

Ryan Norton
Giga Contributor

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.

1 ACCEPTED SOLUTION

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.



Make a page public


View solution in original post

8 REPLIES 8

Could you describe the question a little more? I'm not completely sure what you mean by that.


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.


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


Do you know by chance in the new feature of instanbul ATF where the test is getting the browsers involved?


find_real_file.png