I used to get this all the time when I got my first android phone! I have always used UC Browser, and started off on a stock 4.2.2 rom. The UC adblock addon certainly never helped. Since then on various custom roms running 4.3 and 4.4 I don't seem to get it anymore, maybe every now and then.
The only possible things that could have got rid of it is the custom roms, or the adblocking function of Lucky Patcher.