liquid_feedback_frontend
annotate static/js/browser_warning.js @ 39:06a6e5846536
Bugfixes in app/main/draft/diff.lua including missing encoding of diff output (security threat!)
author | bsw |
---|---|
date | Sun Mar 07 15:13:05 2010 +0100 (2010-03-07) |
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 } |