Skip to content

Callbacks Framework#



A helper script for Spider Monkey Panel and foobar2000 which allows to easily attach and manage event listeners associated to SMP callbacks without wrapping or repeating code. A lifesaver.

Standard callbacks

Event listeners


  • Adds event listeners to SMP callbacks.
  • Removes event listeners on demand.
  • Allows to find if an event listener is active.
  • Listeners are able to self-remove.
  • Mimics mozilla implementation.
  • Implements SPM planned design.
  • Bypasses common limitation of including files with existing callbacks, wrapping, etc.


See repository for usage details.