Most implementations i\'ve seen are for browser detection on the client side. I was just wondering if it was possible to do browser detection before sending any resources to
if your using express you can easily check the ua with something like this:
app.get('/ua', function(req, res){ res.send('user ' + req.headers['user-agent']); });