Page 1 of 1

【 Userscript 】 HQ Chat » Avatars for IRC users

Posted: June 16th, 2024, 19:35
by loregamer
Userscript to add profile pics and "[irc]" to irc users
Image

📥Download

We have a new chat service

Posted: June 16th, 2024, 19:37
by rusty_shackleford
Those 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

We have a new chat service

Posted: June 16th, 2024, 19:40
by loregamer
rusty_shackleford wrote: June 16th, 2024, 19:37
Those 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
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.

We have a new chat service

Posted: June 16th, 2024, 19:42
by rusty_shackleford
loregamer wrote: June 16th, 2024, 19:40
rusty_shackleford wrote: June 16th, 2024, 19:37
Those 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
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.
Don't think there's any way to fetch usernames by user ID, off the top of my head anyways

We have a new chat service

Posted: June 16th, 2024, 19:52
by loregamer
Added some more user PFPs and used the stable URLs

We have a new chat service

Posted: June 17th, 2024, 01:05
by loregamer
loregamer wrote: June 16th, 2024, 19:35
Userscript to add profile pics and "[irc]" to irc users
Alright script is finalized and should be safe from any avatar updates. Should work on any popups and whatnot as well.

Image

I couldn't get srcset working, though @rusty_shackleford. If it contains links that are invalid in srcset then it breaks for me

We have a new chat service

Posted: June 17th, 2024, 11:21
by Shillitron
loregamer wrote: June 17th, 2024, 01:05
Alright script is finalized and should be safe from any avatar updates.
POAST IT

We have a new chat service

Posted: June 17th, 2024, 18:03
by Kalarion
loregamer wrote: June 17th, 2024, 01:05
loregamer wrote: June 16th, 2024, 19:35
Userscript to add profile pics and "[irc]" to irc users
Alright script is finalized and should be safe from any avatar updates. Should work on any popups and whatnot as well.

Image

I couldn't get srcset working, though @rusty_shackleford. If it contains links that are invalid in srcset then it breaks for me
This is rape.

【 Userscript 】 HQ Chat » Avatars for IRC users

Posted: August 9th, 2024, 21:53
by loregamer
v2.0.1
  • Added icon to userscript
  • Added MIT license
  • Linked to github file for updates
📥Download

【 Userscript 】 HQ Chat » Avatars for IRC users

Posted: August 18th, 2024, 23:02
by loregamer
v3.0
  • Added ability to set user avatar overrides
    Image
  • Fixed avatars not applying on DM sidebar


📥Download

【 Userscript 】 HQ Chat » Avatars for IRC users

Posted: September 21st, 2024, 15:52
by loregamer
v4.0
Refactored the code to use util functions and a debouncer to make the script more performant

【 Userscript 】 HQ Chat » Avatars for IRC users

Posted: October 11th, 2025, 14:36
by loregamer
Rehosted on GitGud

📥Download