0

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?

3
  • nevermind - re-read - perhaps something in the browsers developer tools may be of use? have you looked at those tools? Commented Jul 25, 2018 at 6:32
  • You know the function name you want to check or you want to monitor all the functions in the library ? Commented Jul 25, 2018 at 6:43
  • I know the function name.
    – Michail
    Commented Jul 25, 2018 at 7:14

1 Answer 1

1
2
  • 1
    Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
    – mplungjan
    Commented Jul 25, 2018 at 6:46
  • Thanks For Your Comment I will Try To Add Technical Stuff Commented Jul 25, 2018 at 7:02

Not the answer you're looking for? Browse other questions tagged or ask your own question.