Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mysteryDate
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
mysteryDate
5y ago
TypedOM CSSColor is coming soon!
2.
▲
by
mysteryDate
5y ago
The spec defines the web https://html.spec.whatwg.org/multipage/canvas.html#the-canva... The "we" in the statement is the maintainers of the spec, which includes engineers from Chromium, Firefox, Safari, Edge
3.
▲
by
mysteryDate
5y ago
This number is a little bit of a guess. It is the number of calls to `<canvas>` divided by the total number of page loads. Obviously some pages are using more than one canvas, hence the large range. As for fingerprinting, most canvase
4.
▲
by
mysteryDate
5y ago
Oh yeah! Safari is definitely doing great for colorspaces and we have some work to do to catch up. Very good point.
5.
▲
by
mysteryDate
5y ago
Oh, this is just yet another mistake we didn't catch. It's totally x before y. facepalm
6.
▲
by
mysteryDate
5y ago
There was a ton of work across browser vendors to make this a part of spec: https://html.spec.whatwg.org/multipage/canvas.html#the-canva... It's all there. It's all official. That github page was just one par
7.
▲
by
mysteryDate
5y ago
True. Any data the user leaks is data the user leaks and we should work to prevent this. However I don't think people realize just how easy it is to reliably fingerprint users who are blocking javascript and canvas and other web featur
8.
▲
by
mysteryDate
5y ago
Look the proposal's still here! https://github.com/fserb/canvas2D/blob/master/spec/perspecti... If you raise an army of angry webdevs to yell at other browser implementers, I would be so very h
9.
▲
by
mysteryDate
5y ago
So, these functions are are now currently part of the whatwg spec, so other browsers have stated their intention to implement them and this is underway.
10.
▲
by
mysteryDate
5y ago
These are all part of the official spec: https://html.spec.whatwg.org/multipage/canvas.html#the-canva... Getting the features into the spec is the vast majority of the work. Though some features are not yet implemented
11.
▲
by
mysteryDate
5y ago
These are all available as of Chrome M99! Thanks for reminding me to update caniuse!
12.
▲
by
mysteryDate
5y ago
Yup, we're aware and we're all ashamed
13.
▲
by
mysteryDate
5y ago
This is all great feedback! I'm sure most users know this by now, but generally for performance the fewer calls you make to the canvas and the context, the beter. This is almost entirely due to the javascript engine. We're
14.
▲
by
mysteryDate
5y ago
Well, there's this and the fact that browser implementers all need to come to consensus over what features to add and that's an extremely difficult process to move forward. There also is one big browser implementer who doesn
15.
▲
by
mysteryDate
5y ago
Yup. It's awful. We are aware and ashamed
16.
▲
by
mysteryDate
5y ago
AHHHHHH! We wanted to add this so badly! Wrote the code and the spec and everything! Unfortunately Safari said it would be too much effort on their end to change the 2x3 matrices on the backend to 4x4 matrices to support this.
17.
▲
by
mysteryDate
5y ago
A legitimate point! Unfortunately from our end it's also impossible to tell what canvases are being used for. Somewhat reassuringly, the vast majority canvases that are being created are much larger than would be necessary for fingerpr
18.
▲
by
mysteryDate
5y ago
CanvasFilter is coming to MDN documentation, it's been a struggle... I promise it's part of the spec: https://html.spec.whatwg.org/multipage/canvas.html#filters