summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions.js b/functions.js
index 608284dc4..e7e211edd 100644
--- a/functions.js
+++ b/functions.js
@@ -7,6 +7,10 @@ function browser_has_opacity() {
navigator.userAgent.match("Opera") != null;
}
+function is_msie() {
+ return navigator.userAgent.match("MSIE");
+}
+
function is_opera() {
return navigator.userAgent.match("Opera");
}