[Sugar-devel] Browse: give sugar color to webpages
Sam Parkinson
sam.parkinson3 at gmail.com
Sun Jul 6 23:13:39 EDT 2014
Hi,
I'm writing a login system for the new ASLO.
I think that it would be cool to have peoples XO Colors attached to their
account (as their avatar). It would also be nice to prefill the username
field with their sugar nick.
I propose a way to access this data through javascript in browse. It
generates an object like this:
window.sugarUser = {nick: "nickname", stroke: "#ABCDEF", fill:
"#123456"}
(Here is my pull request:
https://git.sugarlabs.org/browse/mainline/merge_requests/14 )
I'm not sure how that goes down from a privacy standpoint.
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140707/5b891d39/attachment.html>
More information about the Sugar-devel
mailing list