Javascript Setting Custom Attribute In Onbeforeunload Function Does

Javascript Setting Custom Attribute In Onbeforeunload Function Does