- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2019 01:53 AM
Hi,
How can i check if the user is using IE browser? i need to check it in the platform (not in service portal)
If someone if familiar with relevant client script, it will be very helpful.
thank you
Solved! Go to Solution.
- Labels:
-
Team Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2019 03:23 AM
Hi,
You can create an onload catalog client script like below. The variable is_ie will contain a boolean value true/false. If IE, it will store true, otherwise false.
function onLoad() {
//Type appropriate comment here, and begin script below
var ua = navigator.userAgent;
/* MSIE used to detect old browsers and Trident used to newer ones*/
var is_ie = ua.indexOf("MSIE ") > -1 || ua.indexOf("Trident/") > -1;
console.log("If using internet explorer: "+is_ie);
}
Also attached is the screenshot for reference.
Kindly mark the comment as a correct answer and also helpful once worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2019 03:00 AM
Hi Ashvini,
thanks, but i need to identified it on client script when the form is loaded / submitted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2019 03:18 AM
This can be done using GlideAjax and script include.
Please look into this community answer where the complete code is also mentioned.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2019 03:23 AM
Hi,
You can create an onload catalog client script like below. The variable is_ie will contain a boolean value true/false. If IE, it will store true, otherwise false.
function onLoad() {
//Type appropriate comment here, and begin script below
var ua = navigator.userAgent;
/* MSIE used to detect old browsers and Trident used to newer ones*/
var is_ie = ua.indexOf("MSIE ") > -1 || ua.indexOf("Trident/") > -1;
console.log("If using internet explorer: "+is_ie);
}
Also attached is the screenshot for reference.
Kindly mark the comment as a correct answer and also helpful once worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2021 03:07 AM
Does anyone have idea to achieve this in service portal?
Thanks