Hook getUserAgentString