jquery read all document events
<p>Hello how to get all attached events to document ?
I tried this but it doesn't work</p>

<pre><code>    $.noConflict();
    jQuery(document).ready(function() 
{
        var events = jQuery(document).data("events");
        //var isExistGlobalEvents = jQuery.data(jQuery(document).get(0), 'events').click;
        if (!events) {
            AddGlobalEvents();
            // has loadedmetadata event
        }  
</code></pre>
