aboutsummaryrefslogtreecommitdiff
path: root/src/thestreet-com-fix
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-06-30 12:44:45 +0200
committerWojtek Kosior <koszko@koszko.org>2022-06-30 12:44:45 +0200
commit3ac15f3d0a591857c5fbc48e0e8025c138d31be9 (patch)
tree34415830449f633c3dadaa10add3060cd885e56b /src/thestreet-com-fix
parent429d4bff1947f19e126cc6b5572b63e9d9c5aee0 (diff)
downloadhydrilla-fixes-bundle-3ac15f3d0a591857c5fbc48e0e8025c138d31be9.tar.gz
hydrilla-fixes-bundle-3ac15f3d0a591857c5fbc48e0e8025c138d31be9.zip
correct sometimes-failing banner removal in thestreet-com-fix
Diffstat (limited to 'src/thestreet-com-fix')
-rw-r--r--src/thestreet-com-fix/street.js2
1 files changed, 1 insertions, 1 deletions
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