开发者

Drupal: module handling browsers with disabled javascript

开发者 https://www.devze.com 2022-12-28 09:52 出处:网络
is there any Drupal module to display an alternative page in case Javascript is disabled ? 开发者_开发知识库thanksYou should always make your website degrade gracefully. Since JavaScript happens on t

is there any Drupal module to display an alternative page in case Javascript is disabled ?

开发者_开发知识库

thanks


You should always make your website degrade gracefully. Since JavaScript happens on the client side, it is not something that you can check for on your server.

You can with js check if js is enabled and act upon it, but you would have to have the info before the page is displayed, if you want to display an alternative page. With caching etc, this would quickly become quite complex to manage.

0

精彩评论

暂无评论...
验证码 换一张
取 消