There's this web site for which I'd like to write a bookmarklet. To do this, I need to find out what Javascript code is run when certain links are clicked. The links are in the form <a href="#" class="i-am-special">Do something</a>
, so there's no onclick
attribute for me to see what code is run.
So how do I accomplish this goal? I imagine I need to use a browser addon like Firebug in Firefox or Developer Tools in Chrome.
Sorry if this has been answered before.