I am trying with Torbrowser 5.5.5 on MacOS X with javascript activated, and weak privacy settings, and the webpage detects neither that it is TorBrowser nor that it's on MacOS X.
I have also installed uBlock Origin; maybe it is what makes the difference?