Sadly you can't guarantee that. If it was an advert, then yes, most likely it would be visible (baring ad blockers, but then they should hopefully block the attack anyway so that's a non-issue). But if it was a tracking image, then the dimensions would likely only be 1px^2.
I use those two specific examples (ad and tracking) because that seems to be the two instances in which this JS was MITM'ed.
I use those two specific examples (ad and tracking) because that seems to be the two instances in which this JS was MITM'ed.