You can use ublockorigin on firefox to solve the problem. You can do nothing about system ads on iphone