I have a bit of third-party js-functions on my website, that are used in many places. I want to collect history of calling these functions. I can't edit them or write some kind of wrapper for them.
Is there in JavaScript a way to watch function call events?