Is there a way to disable display of a certain block if the browser's javascript is disabled? For some blocks (from modules) there might not be any good non-javascript display, i.e. non-javascript might really interfere with the rest of the displayed page. If the core had a way (maybe a checkbox in the modify-block pages) to disable block display when javascript is disabled, that would be a huge help. I read that drupal.jsEnabled is going away - but, even if it were still there, that's in javascript itself, right? If there were a variable in php-land then we could use it in the currently existing block modify pages as a flag to display or not display.
Thanks

Comments

mr.baileys’s picture

Status: Active » Fixed

One option could be setting the block's CSS to hide the block by default, and then use javascript to show it (should be just a one-liner).

In any case, you'll get more help in the forums or IRC...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.