liquid_feedback_frontend
annotate static/js/browser_warning.js @ 60:7bc629bc1c20
Optionally show configuration specific head over issues in public access mode
| author | bsw | 
|---|---|
| date | Thu Apr 22 16:00:49 2010 +0200 (2010-04-22) | 
| parents | afd9f769c7ae | 
| children | eb6d04201f81 | 
| rev | line source | 
|---|---|
| bsw/jbe@5 | 1 function evilBrowser() { | 
| bsw/jbe@5 | 2 return (navigator.appName == "Microsoft Internet Explorer" || ! window.addEventListener); | 
| bsw/jbe@5 | 3 } | 
| bsw/jbe@5 | 4 | 
| bsw/jbe@5 | 5 function checkBrowser(message) { | 
| bsw/jbe@5 | 6 if (evilBrowser()) { | 
| bsw/jbe@5 | 7 alert(message); | 
| bsw/jbe@5 | 8 } | 
| bsw/jbe@5 | 9 } |