This is why I disable javascript on my laptop and block ads on my iphone. I shouldn't have to chase around advert-closing buttons that's jinking like a high-performance fighter aircraft.
Sadly, Firefox for iOS is just a wrapper around WebKit, so Firefox extensions do not work there.