0

I'm sorry if this question isn't framed the way it should, I have trouble wording out my problem.

Is it possible to see which button the user clicked, if the button was on a different UI?

I have a GSP page that is displaying a Jenkins Blue Ocean to monitor a pipeline. I want to track if the user has pressed any pause or abort buttons, but because the Jenkins Blue Ocean isn't part of my page, I can't send anything to my controller.

Would there be any work arounds or methods to track something like this?

Thank you!

  • 1
    what do you mean by another UI?? if the javascript can access same window. then can create listeners else u can push in localStorage and get data – xdeepakv Apr 13 '20 at 07:12
  • 1
    Does the Jenkins window implements a `postMessage` that you can listen for? – Hagai Wild Apr 13 '20 at 07:21
  • 1
    Check this out: https://stackoverflow.com/questions/2381336/detect-click-into-iframe-using-javascript – Michal_Szulc Apr 15 '20 at 01:24

0 Answers0