]> code.citadel.org Git - citadel.git/blob - webcit/static/braindamage
http://www.webreference.com/dhtml/column18/menuFrLoad.html
[citadel.git] / webcit / static / braindamage
1 # braindamage
2 #
3 # This file contains a list of browsers which are known to support
4 # or not support various functions.
5 #
6 # The list is parsed from the top down.  When a match is made, parsing
7 # immediately stops.  This implies that records at the top of the list
8 # take precedence over records towards the bottom.
9 #
10 # Each record must start with a key value:
11 # YES   = This browser implements frame sets and JavaScript compatibly
12 #         enough to run WebCit in its full functionality.
13 # NO    = This browser is brain damaged, so WebCit must run in its
14 #         non-frames, non-JavaScript mode.
15 # ASK   = We don't know, so ask the user.
16
17
18 # Look for Internet Explorer first, because the morons at Microsoft decided
19 # to make life difficult by calling their user-agent "Mozilla" as well, and
20 # put the 'MSIE' in parentheses.
21
22 # Any version of Internet Explorer earlier than 4.0 is utter trash. 
23 # Version 4 and 5 appear to be ok.
24 NO      Mozilla*MSIE 1.*
25 NO      Mozilla*MSIE 2.*
26 YES     Mozilla*MSIE 3.*
27 YES     Mozilla*MSIE 4.*
28 YES     Mozilla*MSIE 5.*
29
30
31 # Opera is untested, and some versions of Opera also use a user-agent string
32 # starting with "Mozilla" (arrgh...)
33 ASK     *Opera*
34
35 # Anything else starting with "Mozilla" is assumed to be a genuine
36 # Netscape browser.  Use the full frames/JavaScript mode starting with
37 # version 3.
38 NO      Mozilla/1.*
39 NO      Mozilla/2.*
40 YES     Mozilla/3.*
41 YES     Mozilla/4.*
42 YES     Mozilla/5.*
43
44 # Lynx is a text-mode browser.  Forget it.
45 NO      *Lynx*
46
47 # Konqueror (also known as kfm), the KDE browser/filemanager.  Nope.
48 NO      Konqueror*
49
50 # The default...
51 ASK     *