diff --git a/ext/fg/js/document.js b/ext/fg/js/document.js index a168705e..8161c85a 100644 --- a/ext/fg/js/document.js +++ b/ext/fg/js/document.js @@ -359,7 +359,7 @@ function isElementTransparent(element) { } const style = window.getComputedStyle(element); return ( - parseFloat(style.opacity) < 0 || + parseFloat(style.opacity) <= 0 || style.visibility === 'hidden' || (style.backgroundImage === 'none' && isColorTransparent(style.backgroundColor)) );