Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes HTML, CSS and JavaScript and the fly likes javascript/css info in header? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript/css info in header?" Watch "javascript/css info in header?" New topic

javascript/css info in header?

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Is there any information sent along with a request, or as a header, that
specifies whether or not javascript and css are enabled? Thus, a
servlet could use this information to redirect the user to some "please
enable these features" page. For our current application, we just use
the <noscript> html tag to handle browsers that don't support javascript
or have it disabled, sending the user to a "please enable javascript"
page. This is fine for javascript, but if a broswer has css disabled,
the page still loads normally (and ugly, since the css isn't used).
Also, is there some sort of <noscript> feature for css?
thanks in advance,
I agree. Here's the link:
subject: javascript/css info in header?
It's not a secret anymore!