This happens a lot on iOS too - even some respectable sites have ads that open the App Store without any user intervention. I'm not sure why Apple allows this.
I've had it happen even on imgur and seemingly respectable news sites. I would expect to get an "Open the App Store?" dialog, but I suppose people find ways to circumvent that.