禁用默认的警报声Firefox网页通知 [英] Disable default alert sound for Firefox web notifications

查看:260
本文介绍了禁用默认的警报声Firefox网页通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是网络的Notification API 从OSX下我的web应用显示桌面通知。

I'm using the Web Notification API to show desktop notifications from my web app under OSX.

在Firefox中只有,当通知被触发时,它也播放声音(在Safari和Chrome,使用完全相同的code,只通知显示,而且也没有伴音效果)。

In Firefox only, when a notification is triggered, it also plays a sound (in Safari and Chrome, using the exact same code, only the notification displays and there's no accompanying sound effect).

我想禁用Firefox中的通知声音,但我无法找到控制它的文档中的任何内容。这可能吗?

I'd like to disable the notification sound in Firefox, but I can't find anything in the documentation about controlling it. Is this possible?

推荐答案

在OS X中,进入系统preferences,然后的通知的。选择的火狐的,并取消选中的播放声音通知的摆脱的声音。

On OS X, go to System Preferences, then Notifications. Choose Firefox and uncheck Play sound for notifications to get rid of the sound.

这篇关于禁用默认的警报声Firefox网页通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆