[wp-hackers] Javascript

Andy Skelton skeltoac at gmail.com
Mon Sep 25 19:18:39 GMT 2006


On 9/20/06, Andy Staines <andy at yellowswordfish.com> wrote:
> Does WP have any core functions/ routines for checking whether js is
> enabled? Or are plugin authors on their own with this one? And if
> they are - any recommended strategies would be appreciated...

Browsers never advertise their javascript capabilities to the server,
e.g. in HTTP headers. Only by inserting javascript in the page can you
detect js execution.

Andy


More information about the wp-hackers mailing list