O'Reilly logo

Drupal 6 Theming Cookbook by Karthik Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Turning off JavaScript in the browser

Websites cater to users using browsers of varying capabilities on a plethora of devices. Consequently, there is no guarantee that user experiences will always be the same across the board. Graceful degradation is often a term associated with site usability and accessibility, and ensures that sites are still functional in the absence of key technologies such as JavaScript, CSS, images, and plugins such as Flash. Disabling various browser features is also quite frequently an essential step during debugging.

This recipe will detail the steps required to disable JavaScript during development.

Getting ready

While every browser provides a JavaScript toggle somewhere in its preferences dialogs, and many of them are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required