Its not just and overlay but code added to the webpage?
I'm awe struck at the stupidity of this idea.
Put another way, when you allow ublock or whatever you're using permission to intercept requests for ALL pages, that includes the "page" that mozilla is using to serve this ad.
Further evidence in favour of this hypothesis is that the ad can temporarily disable the rest of the firefox UI until you deal with it, which normal pages certainly can't do.