Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable SpeechSynth for Firefox RIP #85

Merged
merged 3 commits into from
Apr 14, 2023
Merged

Conversation

andzejsp
Copy link
Contributor

Description

A dirty fix for FireFox users to disable SpeechRecognition as it is not supported by the browser

Type of change

Added block:

if (!userAgent.match(/firefox|fxios/i)) {
// do audio functions
}

Becasue of auto formatting there are a lot of changes. Sorry

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have tested this code locally, and it is working as intended

Copy link
Owner

@ParisNeo ParisNeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, let's give it a try

@ParisNeo ParisNeo merged commit 009927a into ParisNeo:main Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants