A 3rd party application has the following link:
<a class="rlink" href="javascript:;" links='[{"data":"","name":"Detail","id":"b46c994e","type":"tunnel"}]'>Click me!</a>
Clicking the link opens a kind of overlay/popup window.
Presumably a JavaScript function is called when the link is clicked. I'd like to know what JavaScript runs.
The application has a tick running, so turning on the browser debugger freezes the application. I've gone down the rabbit hole trying to uncover something using this method, but can't make any sense of it, or see any relevance to the link/popup functionality.
Is there some way to trigger the debugger on click, or some other way to find what code is running when the link is clicked?
Note: There is no discernible Event attached to the link, either in FF inspector or using 'Visual Event' tool.