1. 程式人生 > >Safari通過JavaScript獲取系統語言

Safari通過JavaScript獲取系統語言

avi nav Language fire def browser ble clas 獲取

IE6 IE7 IE8Firefox Chrome SafariOpera
navigator.language undefined zh-CN zh-CN
navigator.userLanguage zh-cn undefined zh-cn
navigator.browserLanguage zh-cn undefined zh-cn
navigator.systemLanguage zh-cn undefined undefined

Safari通過JavaScript獲取系統語言