3

On clicking every event in Firefox browser it has to display X path and click event message in Firefox console. please suggest me how can i achieve this....!!!! It must be add-on for Firefox.

Sai
  • 311
  • 1
  • 3
  • 18

1 Answers1

2

Not sure what you mean by click event message, but you can just inject a content script that logs the click event's path:

document.documentElement.addEventListener('click', function(evt) {
  console.log(evt.path);
});
willlma
  • 7,353
  • 2
  • 30
  • 45
  • Thanks for reply final i achieved but now am facing a new problem for sending click events in HTML page to server(Java application Executable jar file). – Sai Jul 02 '15 at 04:37
  • 1
    You'll have to start a new question for that or see if it's already been answered on StackOverflow. Feel free to accept this solution if it helped you. – willlma Jul 02 '15 at 04:59