From 3ac15f3d0a591857c5fbc48e0e8025c138d31be9 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Thu, 30 Jun 2022 12:44:45 +0200 Subject: correct sometimes-failing banner removal in thestreet-com-fix --- src/thestreet-com-fix/street.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thestreet-com-fix/street.js b/src/thestreet-com-fix/street.js index f568e11..68e4743 100644 --- a/src/thestreet-com-fix/street.js +++ b/src/thestreet-com-fix/street.js @@ -44,7 +44,7 @@ could include the "srcset" attribute and get the same information). */ // remove blank advertisement banners that obscure the screen -[...document.getElementsByClassName("m-balloon-header--ad is-active has-legacy-nav is-below-header-ad")].forEach(function(element){element.remove();}); +[...document.getElementsByClassName("m-balloon-header--ad is-below-header-ad")].forEach(function(element){element.remove();}); [...document.getElementsByClassName("m-fixedbottom-ad--container")].forEach(function(element){element.remove();}); // show images -- cgit v1.2.3