124
edits
(→References: add bc's blog post) |
(→Sniffing for “Gecko” : Good: better, not Good) |
||
Line 26: | Line 26: | ||
For example, many sites currently sniff for “Firefox” (or perhaps “Firefox/1.0.x” or “Firefox/1.5.0.x”) and send those user-agents code tailored to Gecko’s capabilites and bugs (or Gecko 1.7.x’s or Gecko 1.8.0.x’s) and ignore other Gecko-based browsers, perhaps sending them code “tailored” for unknown user-agents, perhaps lumping other current Gecko browsers with archaic Netscape releases, or, in extreme cases denying entry, sending unstyled content, or the like. (Beginning in spring 2006, sniffing for “Firefox” will fail to detect development versions of Firefox, which will be branded differently and have user-agent strings to match this branding.) | For example, many sites currently sniff for “Firefox” (or perhaps “Firefox/1.0.x” or “Firefox/1.5.0.x”) and send those user-agents code tailored to Gecko’s capabilites and bugs (or Gecko 1.7.x’s or Gecko 1.8.0.x’s) and ignore other Gecko-based browsers, perhaps sending them code “tailored” for unknown user-agents, perhaps lumping other current Gecko browsers with archaic Netscape releases, or, in extreme cases denying entry, sending unstyled content, or the like. (Beginning in spring 2006, sniffing for “Firefox” will fail to detect development versions of Firefox, which will be branded differently and have user-agent strings to match this branding.) | ||
===Sniffing for “Gecko” : | ===Sniffing for “Gecko” : Better=== | ||
Instead, with '''absolutely no additional work on the part of the author''', the site could work correctly on dozens of other Gecko-based browsers on multiple operating systems and hardware configurations: Camino, Epiphany, Flock, Galeon, K-Meleon, SeaMonkey (and Mozilla 1.7.x and Netscape 8, for Gecko 1.7.x). | Instead, with '''absolutely no additional work on the part of the author''', the site could work correctly on dozens of other Gecko-based browsers on multiple operating systems and hardware configurations: Camino, Epiphany, Flock, Galeon, K-Meleon, SeaMonkey (and Mozilla 1.7.x and Netscape 8, for Gecko 1.7.x). | ||
edits