我尝试运行此函数,但没有任何反应;
function notify() {
var notification = webkitNotifications.createNotification(
'',
'title',
'this is the message'
);
notification.show();
}
我在 google 上找不到有关 google apps 脚本中的桌面通知的任何内容, 所以我来了。
最佳答案
网络通知 API 中的 webKitNotifications.createHTMLNotification() 已被弃用。查看文档以了解更多详细信息 Documentation
关于javascript - 如何在 Google Apps 脚本中使用桌面通知?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22886746/