Suchi.js detection update

7 views
Skip to first unread message

Alex Russell

unread,
Feb 19, 2013, 11:00:48 AM2/19/13
to evergree...@googlegroups.com, Frances Berriman, Edd Sowden
Hey all,

After discussing things with Frances, I've updated suchi.js [1] with
tests for most of the current crop of lagging browsers. I've also
split out lagging-browser detection [2] from the main (eventually)
bells-and-whistles-filled prompting system [3]. Minified versions of
all of the above are also now checked in [4].

The minimal API for simply detecting if a browser is part of the
problematic legacy group is now:

suchi.isOld(navigator.userAgent); // boolean

You can get this by including isOld.min.js in your project. The
updated README.md is mostly aspirational at the moment, so don't trust
it.

Obviously we still need:

* language for prompts
* some sort of landing site so that users can "learn more"
* build support for i18n and l10n of prompts
* a server-side and CDN story
* implementation of all the lovely configuration options I've spec'd out = )

Thoughts?

[1] https://github.com/slightlyoff/suchi.js/blob/master/tests/ua-tests.js
[2] https://github.com/slightlyoff/suchi.js/blob/master/src/isOld.js
[3] https://github.com/slightlyoff/suchi.js/blob/master/src/suchi.js
[4] https://github.com/slightlyoff/suchi.js/tree/master/build

Addy Osmani

unread,
Feb 19, 2013, 11:05:30 AM2/19/13
to evergree...@googlegroups.com, Frances Berriman, Edd Sowden
Fantastic work, Alex. Really appreciate the update.

On the landing site, do we feel Suchi should have it's own dedicated page outside of an Evergreen landing page (if we do that) and if so, do we require anything beyond slightlyoff.github.com/suchi.js?



--
More at etherpad.mozilla.org/evergreen . Group at groups.google.com/d/forum/evergreen-the-web
---
You received this message because you are subscribed to the Google Groups "Operation Evergreen" group.
To unsubscribe from this group and stop receiving emails from it, send an email to evergreen-the-...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
Developer Programs Engineer
Google Chrome
Reply all
Reply to author
Forward
0 new messages