Event Listeners list

Adds a method to elements to get their event listeners

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ავტორი
tumnegg
დღიური ინსტალაციები
0
მთლიანი ინსტალაციები
22
რეიტინგი
0 0 0
ვერსია
1.0.1
შექმნილია
30.01.2020
განახლებულია
02.04.2020
Size
1,31 KB
ლიცენზია
MIT
გამოყენებს მათ
ყველა საიტი

Adds a listEventListeners method to every element that returns an array containing every event added to that listener.

A quick example:

const el = document.getElementById("my-test-element");
el.addEventListener("click", doSomething);
el.listEventListeners(); // returns {"click":[doSomething]}
el.listEventListeners("click"); // returns [doSomething]