How to trap “open in a new tab” clicks in jquery.click

后端 未结 3 941
南方客
南方客 2021-02-10 08:47

I have a jquery script that attaches a click event to every link, running an action when the link is clicked. This has been working great, but I just got some betatester feedbac

3条回答
  •  遇见更好的自我
    2021-02-10 09:23

    So you want to capture every click? Event the right or middle one? Shouldn't the mousedown event do just that?

    Of course, she could right click a link just to "Copy Link Location"...

提交回复
热议问题