Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to override the global listeners being pushed in batchJS from other plugins in Jira?

Apoorva Sharma
Contributor
April 10, 2023

Hi,

We have a custom plugin that is facing some delay due to script of other plugin being injected in the batchJS. Upon checking we have found that the issue is coming from the global listener being triggered from that piece of script.

We tried window.onclick = null but that did not seem to have any effect.

We couldn't use removeListener as we do not have the name of the handler which is triggering the global listener. 

Can anyone please suggest what can be done to remove the global listener or to restrict it from being triggered on our screen?

Any suggestions would be really helpful. 

 

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 11, 2023

I'm afraid your only options are to code to work with the other app, or stop using it.

Suggest an answer

Log in or Sign up to answer