I work with a rather complicated web UI that includes a lot of javascript, much of it implemented using jquery. It's my job to override the default javascript and to attempt to make customers happy with minor customizations here and there.
Sometimes there are bits of javascript that I know are in the UI, and which I need to override, but it can take me a long time to track them down. Once I've tracked them down, I haven't yet come up with a good way of blocking the default jquery events might be set up for the selection.
Is there an easy way to use jquery to make a selection and then define my own actions for it, or to block jquery on the selection completely?
For example, the default UI seems to define an onclick event for all links, which is preventing me from doing the seemingly simple task of adding target="_blank" to a link. I say "seems" because I haven't been able to find the javascript that is doing this, but I need to so that I can make the minor customization.