Moving browser detection to all requests.