Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will any user disable JavaScript in mobile browsers like iphone, android? even if device is capable?

On desktop websites we always think "what if the user has JavaScript disabled" and we try to make our code gracefully degradable so we can at least display the important info.

But in Mobile browsers should we think the same way? Is there any reason to disable javascript in mobile browsers? Are they any securtiy threats via JavaScript for mobile websites?

http://hubpages.com/hub/How-to-enable-disable-JavaScript-on-the-Droid-Android-phone

enter image description here

like image 263
Jitendra Vyas Avatar asked Jul 12 '11 16:07

Jitendra Vyas


1 Answers

There is of course some security risk with JavaScript on mobile phones - if there wasn't, you could be sure that desktop browsers would have the same security! But mobile users are perhaps more likely to have JavaScript on because - especially on the iPhone - it has to stand in for Flash or Silverlight functionality. JS is also used to provide faux-native interfac controls to Web apps, and thus has even more added value.

Of course, it is ideal to support users without JavaScript. If it is feasible you should absolutely strive to do so unless dynamic interactions are so integral to your service that you cannot so without.

like image 141
Winfield Trail Avatar answered Sep 30 '22 14:09

Winfield Trail