My process that I take is:
- I open the page (Already has an Event listener)
- Proceed to delete assets (From a form)
- Then when I click the submit on the page it has an Event listener attached to it (The one I need to get rid of when I open the page)
- Then the Event Listener prompts and return confirm("Do you want to delete these assets?") (Very annoying)
Any idea on how I would delete this even listener that’s on the page and is not opened by me?
Here is a picture of what the event listener looks like:
If you do help I thank in advance!