Client's back-side

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
harrisonad
Forum Contributor
Posts: 288
Joined: Fri Oct 15, 2004 4:58 am
Location: Philippines
Contact:

Client's back-side

Post by harrisonad »

I am alarmed these few days about the use of javascript in my applications. Terribly, I am begining to realize that users can no longer use my applications without javascript at all.

I there a way to detect if the client's browser doesn't support javascript or disabled it in purpose.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

What's wrong with using <noscript> the way it's intended?

That should always be your way to graceful fallback.

Side note: If the browser sends it's type and version you can read it from PHP on the server using $_SERVER['USER_AGENT'] and hence work out if JS *should* be available.
Post Reply