News for hackers. Stuff that matters.
Re:Calibre 4.0 by kbutler on Friday October 04, 2019 @01:56PM (#21160188)
Interestingly, it fails for me because of Mac, not because of Chrome:

this.correctBrowser = (this.nav || this.ie); this.correctVersion = (this.nav5up || this.ie5up); this.correctOS = (this.linux || this.win32); this.supported = (this.correctBrowser && this.correctVersion && this.correctOS);

A case of platform detection, instead of feature detection, and an illustration of how platform detection fails in future-proofing your code.

There are no comments on this comment yet.