Methods Webkit桌面通知-没有方法';创建HTMLNotification';

Methods Webkit桌面通知-没有方法';创建HTMLNotification';,methods,webkit,notifications,desktop,Methods,Webkit,Notifications,Desktop,webkit html通知(createHTMLNotification)直到昨天都可以正常工作。出现错误(见下文),代码未更改->与上一版本的chrome不兼容 Error message : Uncaught TypeError: Object #<NotificationCenter> has no method 'createHTMLNotification' 错误消息:未捕获类型错误:对象#没有方法“CreateThMLNotification” 如果我使用方法“cre

webkit html通知(createHTMLNotification)直到昨天都可以正常工作。出现错误(见下文),代码未更改->与上一版本的chrome不兼容

Error message : Uncaught TypeError: Object #<NotificationCenter> has no method 'createHTMLNotification'
错误消息:未捕获类型错误:对象#没有方法“CreateThMLNotification”
如果我使用方法“createNotification”,它的工作很好,但我需要使用HTML通知


chrome的设置允许对所有网站进行弹出和通知(测试在代码中进行检查)。

不幸的是,chrome已删除此功能

请参阅:

警告:web通知API中的webKitNotifications.createHTMLNotification()已被弃用。新的web通知API只允许文本。Chrome notifications API将很快升级为stable,web通知将更新为使用新的rich notifications格式

还有希望