If you're being redirected to random webpages while browsing a website, it could be a website that has enabled redirection ads or maybe you have allowed some sites to redirect. Follow above mentioned steps to get rid of this.