[wp-hackers] Javascript

Andy Staines andy at yellowswordfish.com
Mon Sep 25 21:10:22 GMT 2006


On 08:18  PM |  Mon 25 Sep 06, at 08:18  PM |  25 Sep 06, Andy  
Skelton wrote:

> 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.

Thanks for responding Andy
I did know this. But there are lots of hacks out there that (hidden  
small forms etc.,) that make the attempt and I  was curious if  
anything was embedded deep down in the core that did this on startup.

Andy




More information about the wp-hackers mailing list