1

I actually found a website where all buttons just use href="javascript:;" as link target. I'm now interested what exactly is happening there and how can I see what different informations are processed, since the buttons behave differently, alltough they all have the same link.

Could you help me figguring out what is done there and how to see that?

4
  • Not really a security question, I'm afraid. You might want to investigate the concept of "event handlers" though - it's possible to have the browser do something upon a specific button being pressed, even if the button itself doesn't make reference to the event that happens.
    – Matthew
    Commented Nov 8, 2016 at 14:07
  • @Matthew: Is there a easy way to find the event related to a specific button?
    – Zaibis
    Commented Nov 8, 2016 at 14:10
  • Not really - you'd have to dig through the scripts on the page looking for references to the button's ID, and work out what was called when it was clicked.
    – Matthew
    Commented Nov 8, 2016 at 14:11
  • Well, the browser keeps track of attached event handlers. So with the built-in developer tools you can see which events will be fired.
    – Arminius
    Commented Nov 8, 2016 at 16:07

0

You must log in to answer this question.

Browse other questions tagged .