diff --git a/push.js b/push.js new file mode 100644 index 0000000..e2e93e4 --- /dev/null +++ b/push.js @@ -0,0 +1,11 @@ +push_ask = function() { + Notification.requestPermission(function() { + }); +} + +push_send = function(t, b) { + new Notification(t, { + body : b, + icon : 'favicon.png' + }); +} \ No newline at end of file