codedance / jquery.AreYouSure

A light-weight jQuery "dirty forms" Plugin - it monitors html forms and alerts users to unsaved changes if they attempt to close the browser or navigate away from the page. (Are you sure?)
508 stars 145 forks source link

mailto: links cause the warning to display #138

Open oranges13 opened 6 years ago

oranges13 commented 6 years ago

I have a link on my page that contains a mailto: link which causes the message to display. Is there a way to exclude mailto: type links?