You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
www.chinese-tools.com - Keyboard handling works differently than on Chrome #19663
changed the title [-]www.chinese-tools.com - see bug description[/-][+]www.chinese-tools.com - Keyboard handling works differently than on Chrome[/+]on Oct 15, 2018
softvision-sergiulogigan commented on Oct 15, 2018
If I add "Safari" to the UA-string, then things start working correctly.
However, mozregression tells me that it broke a looong time ago in Firefox 25 in this range, making this the likely cause.
So for the site, the easiest fix is just to treat Firefox as they do Safari. If they want to be cute and support Firefox 24 and lower for fun, they can just add this line to the above checks (which is probably the easiest fix anyway):
if (browser == 2 && [].find) browser = 5; // Gecko 25 changed key-handling and added Array.find
But something tells me the site won't be being updated anymore. If that's the case, then perhaps a site-specific over-ride might be worthwhile (just adding Safari to the userAgent should suffice). For now, I'm going to leave this as needscontact just in case we can find a contact who is willing to update the site.
Activity
birtles commentedon Oct 12, 2018
I'm mostly reporting this in case it overlaps with any of the key handling changes we are trying to make in Nightly at the moment.
[-]www.chinese-tools.com - see bug description[/-][+]www.chinese-tools.com - Keyboard handling works differently than on Chrome[/+]softvision-sergiulogigan commentedon Oct 15, 2018
I can confirm this, @birtles Thanks!
I was able to reproduce on Windows 10 and Firefox nightly 64.
Moving to Needsdiagnosis.
karlcow commentedon Oct 17, 2018
reproducible on macos too.
karlcow commentedon Oct 17, 2018
browser is determined by
karlcow commentedon Oct 17, 2018
So there is a detection about
window.eventThis will be https://bugzilla.mozilla.org/show_bug.cgi?id=1479964
But I think there's more to it.
The full source is https://www.chinese-tools.com/jdd/public/ime/ime.js
Here another area of the case which is changing behavior with regards to browser UA sniffing.
karlcow commentedon Oct 17, 2018
if I fake the UA to be chrome, the site is not working at all. On the other hand if set the UA to be the iPad UA. Everything is working as expected.
wisniewskit commentedon Mar 7, 2019
Building what @karlcow found above, this is where they sniff the UA:
If I add "Safari" to the UA-string, then things start working correctly.
However, mozregression tells me that it broke a looong time ago in Firefox 25 in this range, making this the likely cause.
So for the site, the easiest fix is just to treat Firefox as they do Safari. If they want to be cute and support Firefox 24 and lower for fun, they can just add this line to the above checks (which is probably the easiest fix anyway):
But something tells me the site won't be being updated anymore. If that's the case, then perhaps a site-specific over-ride might be worthwhile (just adding
Safarito the userAgent should suffice). For now, I'm going to leave this as needscontact just in case we can find a contact who is willing to update the site.softvision-oana-arbuzov commentedon Nov 5, 2019
The issue is still reproducible on my side.
Tested with:
Browser / Version: Firefox Nightly 72.0a1 (2019-11-04)
Operating System: Windows 10 Pro
softvision-oana-arbuzov commentedon Jul 29, 2022
This is still an issue.

Tested with:
Browser / Version: Firefox Nightly 105.0a1 (2022-07-28)
Operating System: Windows 10 Pro
[inv_30/2022]