forked from dmolsen/Detector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
69 lines (68 loc) · 3.08 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Things to Implement for Detector
- offer an api into the data
- BUG: media query core tests not working properly (works locally but not on iOS 5?)
- add an onwindowresize event to capture certain attributes like size? seems overkill...
- debug methods/log
- can i has support? would only be for the latest browsers but it's a decent way to double-check me
x - ability to "turn off" feature tests not in modernizr by using underscore in filename
x - per user test support
- better media query grouping support
x - if peruser or perrequest dirs are "empty" don't send data
Implemented
x - separating core tests from user-supplied tests, and saving that data separately...
x - how to version the data?
x - how to have "core" feature detection that updates server-side but gets run every time (e.g. DPI which doesn't track w/ UA string) - sampling the data so that we can update properties just in case
x - how do we version control the data and share across sites? i assume a separate repo for user-agents (user-agents-core vs user-agents-extended)
x - need a good README
x - document the code
x - need a good demo
x - BUG: issue with cookies and sessions dying
x - add support for an archive feature so others can view the already saved profiles
x - update the wording for the headers for features. also add a background color.
x - add noscript tag to the default to capture spiders & devices that don't support js
x - figure out a default profile for spiders & what not... (how does $ua->feature react to not being present?)
x - add check if user-agents-extended has been created and build if necessary.
x - a way to skip ahead in browser profiles or someway to search across profiles/organize
x - figure out a way to check if it's an ios app?
x - write the introductory blog post
x - revise the README
x - support for objects from Modernizr, add example tests for that (screenSize?)
x - add a google analytics include
x - add a true archive page so some can see the full user agent string...
x - add a method to store the user agents in a flat file so they can be pulled out for the archive page & side bar. { uahash => ua }?
x - social media buttons
x - add a configuration option
x - update the browser detection lib
x - add a method to classify devices by their features into "families"
x - add a method to write css classes to the html tag a la modernizr
x - desktop mode where we can swap in another profile. similar to ?pid
x - add a method to pass the truthy values for select features for use in JS on the front-end
- add tests for
-- flash w/ version
x -- webp?
x -- gamepad?
x -- sharedworkers
x -- lowbandwidth
x -- event source
x -- scriptdefer
x -- contenteditable
x -- webaudio
x -- dataworkers
x -- progressbar
x -- meter
x -- fullscreen
x -- device motion
x -- device orientation w/ values
x -- microdata
x -- adownload
x -- notification
x -- datauri
x -- track
x -- time
x -- userselect
x -- audiodata
x -- filesystem
x -- cssscrollbar
x -- filereader
x -- scriptasync
x -- getusermedia