View Single Post
Old 06-24-2022, 11:09 PM  
GoCastaway
Confirmed User
 
Industry Role:
Join Date: Feb 2017
Posts: 880
Quote:
Originally Posted by gar View Post
1. After your page is rendered query all <img>
2. Add event listener "load" and "error" each img;
- Check if it's that image you want to hide
3. Load image again; it's okay it will load form cache

That's pretty much it. I'm not going to write Javascript here tho. I don't remember the syntax. I write everything in Scala.
Thank you!

I will let someone look into that.
GoCastaway is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote