Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

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

详细了解
Solved

Issue with disabling "intl.icu4x.segmenter.enabled" in about:config

yoshiya131350 已回复
yoshiya131350

I am trying to disable the text segmentation behavior in latest Firefox(v151), but I have encountered an issue where changing the preference in [about:config] does not seem to have any effect.

Details:

   Target Preference:  intl.icu4x.segmenter.enabled
   Current Setting:       false
   Problem: 
   Even after setting this to false (and restarting the browser), the text segmentation behavior (such as word selection logic) remains unchanged and appears to still be using the ICU4X engine.
   Reference:
   https://support.mozilla.org/en-US/questions/1440483#answer-1638092


I would like to know:

  1.  Has this preference been deprecated or hardcoded to true in recent versions of Firefox?
   2. Is there any other way to disable the ICU4X-based segmenter or revert to the previous segmentation logic?
   3. If this is a known change, is there an alternative preference to adjust how word selection handles specific languages (e.g., Japanese)?

I am using the latest version of Firefox. Any insights or workarounds would be greatly appreciated. Thank you in advance for your help!

I am trying to disable the text segmentation behavior in latest Firefox(v151), but I have encountered an issue where changing the preference in [about:config] does not seem to have any effect. Details: Target Preference: intl.icu4x.segmenter.enabled Current Setting: false Problem: Even after setting this to false (and restarting the browser), the text segmentation behavior (such as word selection logic) remains unchanged and appears to still be using the ICU4X engine. Reference: https://support.mozilla.org/en-US/questions/1440483#answer-1638092 I would like to know: 1. Has this preference been deprecated or hardcoded to true in recent versions of Firefox? 2. Is there any other way to disable the ICU4X-based segmenter or revert to the previous segmentation logic? 3. If this is a known change, is there an alternative preference to adjust how word selection handles specific languages (e.g., Japanese)? I am using the latest version of Firefox. Any insights or workarounds would be greatly appreciated. Thank you in advance for your help!
定位到答案原位置

选择的解决方案

所有回复 (4)

Hello,

Yes, in the current versions, this preference has been hard coded into Firefox. If you want, you can try bypassing it. First, open your Firefox profile folder, (you can find it in about:support then clicking open folder next to profile directory.) Next, create a file named user.js in the directory, then use this code :

(JavaScript)

user_pref("intl.icu4x.segmenter.enabled", false); user_pref("layout.word_select.eat_space_to_next_word", false);

⚠Make sure you know what this does. Only do it if you know what you are doing. After that, save the file and restart Firfox.

dessertdish said

Hello, Yes, in the current versions, this preference has been hard coded into Firefox. If you want, you can try bypassing it. First, ...


Hi dessertdish,

Thank you for the reply. I tried the steps you suggested in my environment, but unfortunately, it doesn't seem to bypass the issue.

Here is what I did:

  1. Deleted the modified status of intl.icu4x.segmenter.enabled in about:config (reset to default).
  2. Created a user.js file and placed it in my profile directory (\Firefox\Profiles\***.default-release\user.js).
  3. Added the following lines to the user.js file:
  • user_pref("intl.icu4x.segmenter.enabled", false);
  • user_pref("layout.word_select.eat_space_to_next_word", false);

Then,

  1. Restarted Firefox and confirmed that `about:config` reflected the preferences loaded from `user.js`.
  2. Double-clicked text on a random website to test the word selection.
  3. I saw the behavior remained unchanged and still appeared to be using the ICU4X engine.

Whether I flip `intl.icu4x.segmenter.enabled` to `false` directly via `about:config` or enforce it via `user.js`, the result is the same. It seems this preference may have been completely deprecated or ignored in the underlying code of recent versions.

If anyone knows of another workaround or preference to disable ICU4X or tweak the word selection logic, please let me know.

Thanks again!

选择的解决方案

TyDraniu said

Hi, that preference doesn't exists in the source code anymore. It hasn't been hardcoded.

Hi TyDraniu,

Thank you so much for gathering this valuable information and providing the Bugzilla links. Knowing that I am not the only one navigating these changes is a huge takeaway for me. I am certain that this thread, along with the links, will be helpful to other users who might be struggling with the same issue.

Also, thanks to dessertdish for trying to help with the user.js workaround. I will mark this thread as solved now. Thanks again to both of you for your time and insight!

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题