/    Sign up×
Community /Pin to ProfileBookmark

list all event listeners on a page

I’m wondering if theres a way to list all listeners on a page.

I’ve been playing with the google maps api, but whenever theres a change to an input field, it refreshes the entire page. It appears to only happen in google chrome, but thats the browser i want to use it in (its for development purposes) due to its speed and optimization in google maps.

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@toenailsinauthorJun 18.2009 — heres the code if anyone wants to replicate it

[code=html]<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"/>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true&key=ABQIAAAACIkvJMh9oClX1o2ZPsXNQxQeREOdJEuDvkpkWALmHsLYYrtn-RTKrvHJG-j4C1B6qSx8GeFPUl8aiQ"></script>
<script>

var map;
function initialize(){
map = new google.maps.Map(
document.getElementById('map_canvas'),
{
zoom: 14,
center: new google.maps.LatLng(-43.53103948352879, 172.63663083314896),
mapTypeId: google.maps.MapTypeId.ROADMAP
}
);
}

</script>
<style>
body {
margin: 0;
}
</style>
</head>
<body onload="initialize()">
<div id="map_canvas" style="width:100%; height:85%"></div>
<input type="text"/>
</body>
</html>[/code]
×

Success!

Help @toenailsin spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.14,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...