Additionally, if you aren't the coding type of person, a zipped file with these changes already in place can be found here.
You will only need to modify the default.asp file found in the SystemCheck folder. So open that file now in your favorite editor. Do a find for "switch (caps.browser.type)" (without the quotes). This will take you to the part of the code that you need to edit.
If you wish to display a message to IE 6.0 users add the following code under sBrowserIcon = "explorer";
if (caps.browser.version == "6") {This does two things. It displays a message on the System Check nugget itself that the browser is not supported. Additionally, it will display a popup alert message.
sBrowserIcon = "whitespace";
sUnsupported = '<tr><td colspan=2><img src="' + sIconPath + 'warning.gif" alt="<%=dLang("Warning")%>" valign=textbottom hspace=2><span style="color:red"><%=dLang("InvalidBrowser")%></span></td></tr>\n';
alert("You have an old version of Internet Explorer. Please use IE 7.0+ or Firefox.");
}
To add one specifically against Safari, you will now add the following code before default:
case 'Safari':Also be sure to add a break; command before the case 'Safari': line.
sBrowserIcon = "whitespace";
sUnsupported = '<tr><td colspan=2><img src="' + sIconPath + 'warning.gif" alt="<%=dLang("Warning")%>" valign=textbottom hspace=2><span style="color:red"><%=dLang("InvalidBrowser")%></span></td></tr>\n';
alert("Safari is not a supported browser. Please use Firefox, or if on Windows IE 7 or greater.");
If you have any questions, feel free to contact me here or elsewhere.
Cya,
Paul


