Hacker News new | ask | show | jobs
by pedrocr 5017 days ago
There are probably a bunch of ways of checking with javascript that are much harder to spoof than the UA.
2 comments

yes, for example with device fingerprinting. the Electronic Frontier Foundation has a nice test page online: https://panopticlick.eff.org/ however apple could apply a much simpler filter by checking whether the screen size fits the exact specs of their iphones / ipods and ban any other devices.

then again, you might always access the source directly, circumventing the need for js entirely.

I am not sure related native iOS streaming libraries integrate JavaScript security just to protect iTunes previews.
That could be easily updated if necessary. Moreover, it's entirely possible that there are dormant APIs precisely in case this sort of thing happened.