aboutsummaryrefslogtreecommitdiffstats
path: root/packages/snort
diff options
context:
space:
mode:
Diffstat (limited to 'packages/snort')
-rw-r--r--packages/snort/snort_rules.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/packages/snort/snort_rules.php b/packages/snort/snort_rules.php
index acad85f8..f1b29f83 100644
--- a/packages/snort/snort_rules.php
+++ b/packages/snort/snort_rules.php
@@ -273,11 +273,16 @@ include("head.inc");
<!--
function go()
{
- box = document.forms.selectbox;
+ var agt=navigator.userAgent.toLowerCase();
+ if (agt.indexOf("msie") != -1) {
+ box = document.forms.selectbox;
+ } else {
+ box = document.forms[1].selectbox;
+ }
destination = box.options[box.selectedIndex].value;
- if (destination) location.href = destination;
+ if (destination)
+ location.href = destination;
}
-
// -->
</script>