codejoust / session.js

Session.js - Get user session information

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

detect architecture

lanterndev opened this issue · comments

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!

+1

commented

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

commented

Done.

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