codejoust / session.js

Session.js - Get user session information
Other
1.2k stars 84 forks source link

detect architecture #30

Closed lanterndev closed 10 years ago

lanterndev commented 11 years ago

It'd be great if it were possible to detect e.g. x86 vs. x86_64 users so you could prompt them to download the appropriate version of your package. At least some browsers provide these substrings in navigator.userAgent. Would you consider adding a field to the API which could be populated with a best guess at the architecture when the browser provides it? I'd be happy to submit a pull request if it would be of interest.

Thanks again for the great work on session.js!

nynsen commented 11 years ago

+1

codejoust commented 10 years ago

Sure, @skivvies, a pull request would be appreciated.

codejoust commented 10 years ago

Done.

lanterndev commented 10 years ago

Thanks for beating me to it @codejoust. Done in part of 08ac4df.