How to detect whether "I'm on arXiv.org"?
Without an explicit flag being set by the 'host' platform, there is no general way of detecting that a .tex
file is being processed by a particular publisher's system. Thus without knowledge of the arXiv system, and probably contacts, there is no way to achieve this detection.