DataTables / VisualEvent

Visually show Javascript events on a page
http://sprymedia.co.uk
1.04k stars 161 forks source link

Log hidden events #58

Closed davidrenne closed 9 years ago

davidrenne commented 9 years ago

Can we log hidden events? You show a count of events happening in things like window outside of the visual document, but it would be nice to do something like this so you can review them.

Maybe we could get fancy and on click of the XX hidden events. It would open up your console and show the warnings?

DataTables commented 9 years ago

Hi,

Thanks for this. What I've wanted to do is have an option in the toolbar that will show the events in a table, that will therefore allow both visible elements and hidden elements to have their events logged and available in the table.

This PR has items specific to your build in it so I won't be able to pull it in. Also, I'm not sure about using console to log events - it would be fine for a few, but there might be performance problems if there are hundreds or thousands of events.

As such, I'll close this PR, but more are welcome in future :-)

davidrenne commented 9 years ago

Ya that's fine. I have a build for myself on my server with this feature enabled.

I needed to update my old visual event as it stopped working for me and a window event I forgot about was killing some ajax duplicates.

So now I have a console log version that will help for now. Feel free to message here once you get a new solution For hidden events

Here's my working build bookmarklet.

http://davidrenne.com/downloads/VisualEvent/