liquid_feedback_frontend
annotate static/js/browser_warning.js @ 133:fa55c8ded9fd
add wiki syntax help
add help display module
add links to the wiki editors that link to a help page of the selected wiki syntax.
add help display module
add links to the wiki editors that link to a help page of the selected wiki syntax.
author | Daniel Poelzleithner <poelzi@poelzi.org> |
---|---|
date | Tue Oct 05 16:18:39 2010 +0200 (2010-10-05) |
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 } |