The EventTarget API is neat. Some things I wish it had tho: 1. .once() listeners for one-off actions 2. prependListener() (e.g. move to the start of the listener queue) 3. have a .listenAll() method to catch all events But I guess we can create thosehttps://developer.mozilla.org/en-US/docs/Web/API/EventTarget …
For tracing purposes you _defininitely_ need the latter, haha. Didn't know about the arguments. That's so cool!
-
-
TIL: chrome console only https://developers.google.com/web/tools/chrome-devtools/console/events … "The first parameter is the object to monitor. All events return if the second parameter is not provided. To specify the events to listen to, pass either a string or an array of strings as the second parameter."
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.