跳到主要内容
语音识别 Polyfill

语音识别 Polyfill

apersongithub · Firefox

在本地使用 Whisper,让 Google 翻译、Duolingo 等网站支持语音识别。

4.2/5 5 人评分 399用户 v1.7.0当前版本
权限提示 该扩展申请访问所有网站(<all_urls>),意味着它可以读取你在任意站点的页面内容,包括已登录的页面。这是许多扩展正常工作的必要条件,但也值得你确认来源可信。

截图

  • 语音识别 Polyfill 截图
  • 语音识别 Polyfill 截图
  • 语音识别 Polyfill 截图
  • 语音识别 Polyfill 截图
  • 语音识别 Polyfill 截图
  • 语音识别 Polyfill 截图
  • 语音识别 Polyfill 截图
  • 语音识别 Polyfill 截图

简介

❗ Test the extension by using speech color changer and don't forget to leave a review and comment!

The extension's code is open source and viewable on GitHub.

If you don't care about privacy just set the provider to Google and you'll have the best overall experience (equivalent to the Speech Recognition API used in Google Chrome). Android support has not been tested.

⭐ Key Features:

  • Works out of the box if your first language is English, one option away for other languages.
  • Extension uses WASM, no external client or app needed.
  • Privacy first, vosk (local) is the default model.
  • Decent Web Speech API Support through Polyfill (obviously)
  • Customizable Keybind for Speech to Text anywhere, alongside the polyfill
  • Many Local Models to choose from (Vosk/Whisper/Nvidia)
  • Realtime Streaming/Word-to-Word Continuous Speech like Chrome (Vosk/Nvidia/AssemblyAI/Google)
  • Local & Offline Transcription Support (Vosk/Nvidia/Whisper..see info part)
  • Cloud/Server Transcription Support
  • Extensive Per-Site and Default Customization Options
  • Icon Status and Notification toasts to guide you. Toasts aren't enabled by default
  • Exporting and Importing Settings
  • Auto Language Detection based on data from site's and some speech models.
  • Many languages to choose from when using their respected country code (support depends on the engine used).

📝 Info:

  • On first install/every update, this extension will open the options page, the default model language is English but this is easily changeable. This extension allows per-site customization and a multitude of different models to decipher language. It also has a key-bind for Speech to Text (default: Alt + A). Keep in mind that this is not a complete solution and the API doesn't have full support but it's pretty close. Speech Detection is nearly as instantaneous (depending on the model), it is now has Google Chrome's Cloud API. The extension icon color/indicator changes depending on the process so pin it to your menu to verify the extension is working as intended. A red mic/error icon does not necessarily mean your mic isn't working but rather the speech may have been cancelled by user input, missing cloud API key, or that it is unintelligible (usually its the latter).
  • If any website requires you to use Chrome in order to access it due to missing speech recognition support, that means that site has Firefox manually on the blacklist rather than the feature itself (bad developer). If you still want to access that website, you have to trick the site into thinking you are Chrome. To solve this, you can use the add-on, https://addons.mozilla.org/en-US/firefox/addon/chrome-mask/ Browser Masking is technically beyond the scope of this extension. If the site still doesn't work after that, they are using some type of deprecated Web Speech API feature they are a very bad developer (won't fix) .
  • Some obscure websites with non-standard text input fields may not work properly with the keybind (ex: https://onlinenotepad.org/notepad), this is not a complete limitation as some may think BUT rather an annoyance that will take me several hours to make it works consistently across most sites without text repetition, deletion, replacement or other dumb input glitches. 99% of websites will work just fine right now. That's pretty much the last barrier in this extension that likely won't be fixed or atleast by me due to time constraints.
  • Make sure you are using the correct mic and speak loud, slow, and clear otherwise your voice may not be detected or unintelligible. Change the default model to the cloud or slightly larger or different local ones if you experience problems with voice recognition (this may impair performance). You can also try enabling "boost microphone gain" if you are a soft speaker. If you are constantly processing audio over 1-2 mins, disable the ultimatum processing timeout feature in the settings.
  • If you're using Duolingo or similar and are trying to do the speaking practice of the language that you are learning, it is recommended to set the language in the extension to the one you are learning (navigate to the site -> click extension icon -> set language then click "save for site"). This isn't required but it will significantly improve the accuracy of your speech since the model now knows the exact language you are trying to speak. (This isn't exactly necessary for every site, one example is google translate which tells us the exact language that is being used through the input box's data so auto-detect works fine). Look at the images for more help.
  • If you do care about privacy and want the overall fastest and most accurate local model you'll need to use Nvidia Parakeet. Be aware that these models are >1GB. Though, I haven't tested larger Vosk Models yet so those may be good too. Nvidia Parakeet will never have model-based site overrides.
  • You can also use my <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/a990f5177d19f5c7047476b1038c39c8fbec9e83aa666bf04ba27aca667b5ddf/https%3A//greasyfork.org/en/scripts/568183-speech-recognition-polyfill-…

语音识别 Polyfill 是做什么的

语音识别 Polyfill 是一款面向 Firefox 的隐私与安全类扩展,主要用来拦截追踪器、屏蔽广告、管理 Cookie、加固浏览器指纹。官方对它的介绍是:在本地使用 Whisper,让 Google 翻译、Duolingo 等网站支持语音识别。在Firefox 附加组件商店(AMO)上,它当前版本 1.7.0,评分 4.2(5 人评价),约 399 名用户。

适合什么人用

从功能定位看,语音识别 Polyfill 更适合在意上网被跟踪、希望减少广告干扰的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。需要注意的是它作用于所有网站,装上后建议先观察一两天,确认不影响常用站点的正常使用。

怎么安装 语音识别 Polyfill

  1. 打开Firefox 附加组件商店(AMO)上的官方页面;
  2. 点「添加到浏览器」并确认权限提示;
  3. 装好后在扩展列表里固定图标,方便随时开关。

本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。

常见问题

语音识别 Polyfill 是免费的吗?

语音识别 Polyfill 在Firefox 附加组件商店(AMO)免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。

语音识别 Polyfill 安全吗?

它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。

语音识别 Polyfill 支持哪些浏览器?

当前收录的版本来自Firefox 附加组件商店(AMO),适用于 Firefox。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。

怎么卸载 语音识别 Polyfill?

在扩展管理页找到 语音识别 Polyfill,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。

权限清单 来自 manifest.json 原文

站点访问 1

  • <all_urls>

接口权限 2

  • storage
  • tabs

标签 点标签看同类扩展

同类工具

同样带「下载增强」标签的扩展

查看全部 ›