webcompat / web-bugs

A place to report bugs on websites.
https://webcompat.com
Mozilla Public License 2.0
739 stars 63 forks source link

www.enhance.computer - site is not usable #18394

Open karlcow opened 6 years ago

karlcow commented 6 years ago

URL: https://www.enhance.computer/

Browser / Version: Firefox 63.0 Operating System: Mac OS X 10.13 Tested Another Browser: Yes

Problem type: Site is not usable Description: Dependency on SpeechRecognition Steps to Reproduce:

  1. Go to the site.

The site recommends to use Chrome.

In https://www.enhance.computer/scripts/speech.js

var SpeechRecognition = SpeechRecognition || webkitSpeechRecognition
var SpeechGrammarList = SpeechGrammarList || webkitSpeechGrammarList

though… unfortunately the detection is not based on speech recognition.

$(() => {
    var isChrome = !!window.chrome && !!window.chrome.webstore
    if (!isChrome) {
        $('body').html(
            'Sorry, your browser is not supported for <i>ENHANCE.COMPUTER</i>. Try again using desktop Chrome.'
        )
        window.pause()
    } else {
        socket.emit('new game')
        reset()
    }
})

Screenshot Description

Browser Configuration
  • mixed active content blocked: false
  • buildID: 20180821220101
  • tracking content blocked: false
  • gfx.webrender.blob-images: true
  • gfx.webrender.all: false
  • mixed passive content blocked: false
  • gfx.webrender.enabled: false
  • image.mem.shared: true
  • channel: nightly

From webcompat.com with ❤️

karlcow commented 6 years ago

How to fix. Change the detection message based on having SpeechRecognition.

https://twitter.com/webcompat/status/1032103721700712449

karlcow commented 6 years ago

Dependency on https://bugzilla.mozilla.org/show_bug.cgi?id=1248897

adamopenweb commented 6 years ago

@karlcow is the ask to change this now so it'll work when Firefox is shipping this feature?

karlcow commented 6 years ago

yes basically but not urgent. It's more than once speechrecognition is available on Firefox, the site will still fail because of the chrome sniffing.

karlcow commented 4 years ago

so what we had said. https://bugzilla.mozilla.org/show_bug.cgi?id=1248897 is FIXED and Firefox is still excluded.

karlcow commented 4 years ago

just attempted to contact again. https://twitter.com/webcompat/status/1205379456447045633