Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

How to override detected preferences in about:config

  • 2 件の返信
  • 2 人がこの問題に困っています
  • 6 回表示
  • 最後の返信者: ziggy5078778

more options

I have a Sony laptop with a touch screen and windows 10 running Firefox 53.03. Firefox's about:config detects the following preference:

ui.osk.debug.keyboardDisplayReason userset string IKPOS: Keyboard presence confirmed.

I want to override it to be: ui.osk.debug.keyboardDisplayReason userset string IKPOS: Touch screen not found.

I have tried creating a user.js with the following content: user_pref("ui.osk.debug.keyboardDisplayReason", "IKPOS: Touch screen not found."); but about:config does not change.

If I go into the device manager and disable the touchscreen, then I get the correct preference and Firefox works correctly, but I'd like to keep the touchscreen enabled.

Thanks. Zig

I have a Sony laptop with a touch screen and windows 10 running Firefox 53.03. Firefox's about:config detects the following preference: ui.osk.debug.keyboardDisplayReason userset string IKPOS: Keyboard presence confirmed. I want to override it to be: ui.osk.debug.keyboardDisplayReason userset string IKPOS: Touch screen not found. I have tried creating a user.js with the following content: user_pref("ui.osk.debug.keyboardDisplayReason", "IKPOS: Touch screen not found."); but about:config does not change. If I go into the device manager and disable the touchscreen, then I get the correct preference and Firefox works correctly, but I'd like to keep the touchscreen enabled. Thanks. Zig

すべての返信 (2)

more options

Did you try to disable touch screen support in Firefox?

  • ui.osk.enabled = false

The Debug prefs are created by the relevant code.

more options

cor-el said

Did you try to disable touch screen support in Firefox?
  • ui.osk.enabled = false

Thanks, just tried the above and no joy.