Change the how to detect Opera to use userAgent