【 Userscript 】 HQ Chat » Avatars for IRC users
Posted: June 16th, 2024, 19:35
download/file.php?avatar=87.jpg
Cool cool. Any chance you could make it so I could fetch avatars with a username? Then I think I could make it so we don't have to just add to the array manually.rusty_shackleford wrote: ↑ June 16th, 2024, 19:37Those avatar URLs aren't stable, you can use the URL with just the user ID to get a stable one e.g.,download/file.php?avatar=87.jpg
Don't think there's any way to fetch usernames by user ID, off the top of my head anywaysloregamer wrote: ↑ June 16th, 2024, 19:40Cool cool. Any chance you could make it so I could fetch avatars with a username? Then I think I could make it so we don't have to just add to the array manually.rusty_shackleford wrote: ↑ June 16th, 2024, 19:37Those avatar URLs aren't stable, you can use the URL with just the user ID to get a stable one e.g.,download/file.php?avatar=87.jpg
Alright script is finalized and should be safe from any avatar updates. Should work on any popups and whatnot as well.

POAST ITloregamer wrote: ↑ June 17th, 2024, 01:05Alright script is finalized and should be safe from any avatar updates.
This is rape.loregamer wrote: ↑ June 17th, 2024, 01:05Alright script is finalized and should be safe from any avatar updates. Should work on any popups and whatnot as well.
I couldn't get srcset working, though @rusty_shackleford. If it contains links that are invalid in srcset then it breaks for me