title: Listening for when a function is called in another JS file. (Firefox Addon / Extension)
body: <p>I'm making a Firefox extension to skip a video when a video starts to be played in a web page. I need to listen for when the function to start the video is executed. Any ideas on how to do this?</p>