From 7c620da8e14269f4cbe1410aef4d9d146c2e238e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 20 Aug 2006 07:28:13 +0100 Subject: some opera-related fixes --- functions.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'functions.js') diff --git a/functions.js b/functions.js index 269093022..2b74731e1 100644 --- a/functions.js +++ b/functions.js @@ -7,6 +7,10 @@ function browser_has_opacity() { navigator.userAgent.match("Opera") != null; } +function is_opera() { + return navigator.userAgent.match("Opera"); +} + function exception_error(location, e, silent) { var msg; -- cgit v1.2.3-54-g00ecf