liquid_feedback_frontend
annotate static/js/browser_warning.js @ 107:eeb167cf9dc4
add comand line admin tool
started a command line admin tool to help development.
currently supports setting login passwords and list users
started a command line admin tool to help development.
currently supports setting login passwords and list users
author | Daniel Poelzleithner <poelzi@poelzi.org> |
---|---|
date | Sun Sep 19 01:33:23 2010 +0200 (2010-09-19) |
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 } |