简体   繁体   中英

Mobile browsers and JavaScript

Can't every mobile browsers support JavaScript? Which language/technology are used in mobile browsers pages? I mean the mobile websites...

I know XHTML is used much, What are the rest?

iPhone and default Android and BlackBerry all use WebKit. Opera and FireFox offer mobile browsers as options.

Windows Phone uses a version of IE9.

All of above support JavaScript. You can see phones from 2+ years ago that have browsers w/o JS, but they're not common anymore.

Most modern smartphones' browsers are based on Webkit - the same engine that powers Chrome and Safari. IE on Windows Phone 7 and Firefox are supposed to be standards-compliant too. Opera does have some support but don't count on it too much.

So, yes, they do support Javascript, and the technology stack is the same as for desktop ones (HTML, CSS, javascript). You even get broader support for HTML5/CSS3 in them.

Older phones, however, are a completely different story, and believe me, you don't want to go there :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM