Project

General

Profile

« Previous | Next » 

Revision 3ac15f3d

Added by koszko about 1 year ago

correct sometimes-failing banner removal in thestreet-com-fix

View differences:

src/thestreet-com-fix/street.js
44 44
	could include the "srcset" attribute and get the same information). */
45 45

  
46 46
// remove blank advertisement banners that obscure the screen
47
[...document.getElementsByClassName("m-balloon-header--ad is-active has-legacy-nav is-below-header-ad")].forEach(function(element){element.remove();});
47
[...document.getElementsByClassName("m-balloon-header--ad is-below-header-ad")].forEach(function(element){element.remove();});
48 48
[...document.getElementsByClassName("m-fixedbottom-ad--container")].forEach(function(element){element.remove();});
49 49

  
50 50
// show images

Also available in: Unified diff