为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.