I've just been reading through Parker, et al, Designing with Progressive Enhancement, and I'm wondering if anyone else has considered if a similar approach might be implemented in Drupal (D7 in particular)?
If you haven't read it, the developers at Filament Group developed a compact suite of JS browser tests (EnhanceJS) that then set or unset a session cookie and allow a server-side script to do things like include CSS and JS and markup (body classes, etc.) that are appropriate to the browser's capabilities.
I'm not a hard-core coder, so I'm not sure how the approach might work in Drupal, but I'm pretty sure it would be a valuable addition. Specifically, I wonder if it's in the realm of possibility to use this method to set a Context (based on browser capabilities, rather than device detection), which could then be used to do things like switch themes, toggle block visibility, toggle layouts (a la Omega/Delta), and so on. For the Omega Framework gang: if it were possible, this might be a way to piggyback on the new responsive layouts in the 3.x branch.
Thoughts?