Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 29529

Questions about, or scripts/apps/libraries that enhance Stack Exchange's Chat rooms/feature.

5 votes
1 answer
438 views

How do I get notified of events in SE chat?

I'm writing userscripts to interact with Stack Exchange Chat. I'd like to be notified when things happen (e.g. messages added, removed, edited, users joining, etc.). … I know that I could use a MutationObserver to watch for changes to the DOM, but is there any way to register a callback with the SE Chat system to be notified upon these events happening? …
Makyen's user avatar
  • 1,658
8 votes

How do I get notified of events in SE chat?

Prior to most of the chat system processing of the event, the registered callbacks are executed in the order they were added. … The list of event types was copied from the SE's minimized chat JavaScript. …
Makyen's user avatar
  • 1,658