搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

html/js canvas keyboard input

  • 無回覆
  • 1 有這個問題
  • 7 次檢視
more options

I am learning to use html/js canvas graphics.

When a add key event handler is added a search box at the lower left of firefox pops up instead of sending keystrokes to the html canvas.

example code is at https://www.homeandlearn.co.uk/javascript/move_box_keyboard.txt

How do I get firefox to stop intercepting my keyboard events to a search box popup.

I am learning to use html/js canvas graphics. When a add key event handler is added a search box at the lower left of firefox pops up instead of sending keystrokes to the html canvas. example code is at '''https://www.homeandlearn.co.uk/javascript/move_box_keyboard.txt''' How do I get firefox to stop intercepting my keyboard events to a search box popup.
附加的畫面擷圖