add event listener to notification clcik code example
Example: javascript click event notifications
var message = new Notification("RandomString");
message.onclick = function(){
alert("Random Message")
};
var message = new Notification("RandomString");
message.onclick = function(){
alert("Random Message")
};