[ / / / / / / / / / / / / / ] [ dir / acme / agatha2 / arepa / imouto / komica / tacos / tingles / vg ][Options][ watchlist ]

/prog/ - Programming

Programming board
You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Name
Email
Subject
Comment *
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): 2392a3e80947575⋯.jpg (30.64 KB, 406x408, 203:204, 1508512876333.jpg) (h) (u)

[–]

c03fb5 (2)  No.5015[Watch Thread][Show All Posts]

It's a small questions that don't deserve their own thread episode, the thread, the movie

c03fb5 (2)  No.5016>>5242

8chan's javascript somehow detects when an image starts loading, how is that accomplished?

The thumbnail goes gray for a second, and then it gets replaced when the large image starts loading. I tried reading the source code but I can't figure it out. I tried just about every eventlistener along with mutation observers but nothing detects the point where the image starts loading. I can only detect when it finishes loading or when the HTML changes. Searching online gives me no answers either.


8b72ef (1)  No.5242




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
2 replies | 0 images | 2 UIDs | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / acme / agatha2 / arepa / imouto / komica / tacos / tingles / vg ][ watchlist ]