user.js

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit fec0c992873a417717d76dc20321c97b0c1e3de1
parent 258e8ff805ef6432ac12ffdfcdc8b64fb5cdf21f
Author: earthlng <earthlng@users.noreply.github.com>
Date:   Tue,  3 Oct 2017 17:00:11 +0200

4608 - remove media.webspeech.recognition.enable

the 2nd part of the Web Speech API, SpeechRecognition, is not yet implemented on Desktop Firefox:

https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition#Browser_compatibility

> * [2] Can be enabled via the `media.webspeech.recognition.enable` flag in about:config **on mobile**. **Not implemented at all on Desktop Firefox** — see [bug 1248897](https://bugzilla.mozilla.org/show_bug.cgi?id=1248897).
Diffstat:
Muser.js | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/user.js b/user.js @@ -1628,11 +1628,10 @@ user_pref("browser.zoom.siteSpecific", false); // [2] https://wicg.github.io/netinfo/ // [3] https://bugzilla.mozilla.org/show_bug.cgi?id=960426 user_pref("dom.netinfo.enabled", false); -// 4608: disable speech recognition - // [1] https://developer.mozilla.org/docs/Web/API/SpeechRecognition +// 4608: disable the SpeechSynthesis (Text-to-Speech) part of the Web Speech API + // [1] https://developer.mozilla.org/docs/Web/API/Web_Speech_API // [2] https://developer.mozilla.org/docs/Web/API/SpeechSynthesis // [3] https://wiki.mozilla.org/HTML5_Speech_API -user_pref("media.webspeech.recognition.enable", false); user_pref("media.webspeech.synth.enabled", false); // 4609: disable location-aware browsing // [NOTE] Use Mozilla's API key if required