Hi,

which hostname do you use on the browser address bar to reach your page?
please read setDomain documentation and check the Known Browser Issue section of the forum.
Following our guidelines you should be able to run your application without any browser detection code.