dunno bout checking user-agent, ive assigned a specific browser proper user-agent and still get wrong stats from bitcoins.lc/stats page
Cant we use the stats.json page to read the shares ?
yes. their stats.json works fine (for web browser and my test build of bitHopper Mod)