|
|
@@ -77,7 +77,7 @@ this.docHelper = this.docHelper || (() => {
|
|
|
markBackdropBackground(doc, win, markerRemovedContent);
|
|
|
doc.querySelectorAll("iframe").forEach(element => {
|
|
|
const boundingRect = element.getBoundingClientRect();
|
|
|
- if (!boundingRect.width && !boundingRect.height) {
|
|
|
+ if (element.hidden || element.style.display == "none" || boundingRect.width <= 1 && boundingRect.height <= 1) {
|
|
|
element.setAttribute(markerRemovedContent, "");
|
|
|
}
|
|
|
});
|