We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

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

详细了解

firefox underlining mispelled text in google searchbar no matter what

more options

i've turned off spellcheck in the normal firefox preferences, I have these values set for about:config spellcheck related things, and no matter what I do, I simply cannot figure out how to get rid of the underlining. does anyone have any solutions? layout.spellcheckDefault 0 services.sync.prefs.sync.layout.spellcheckDefault false services.sync.prefs.sync.spellchecker.dictionary true ui.SpellCheckerUnderlineStyle 0

i've turned off spellcheck in the normal firefox preferences, I have these values set for about:config spellcheck related things, and no matter what I do, I simply cannot figure out how to get rid of the underlining. does anyone have any solutions? layout.spellcheckDefault 0 services.sync.prefs.sync.layout.spellcheckDefault false services.sync.prefs.sync.spellchecker.dictionary true ui.SpellCheckerUnderlineStyle 0
已附加屏幕截图

被采纳的解决方案

Okay, turns out it's a feature of Google's search pages. You can suppress it by applying a custom style rule to Google pages using either the Stylish extension or a userContent.css file. Stylish is easier for setup and tweaking, but if you already have a userContent.css file, see #5 below for the code.

(1) Install the extension from https://addons.mozilla.org/firefox/addon/styl-us/

(2) Click its "S" toolbar button and then the Manage button at the bottom

(3) In the left column, click the Write New Style button

(4) Enter any name you like in the name box in the left column

(5) Click in the box on the right and paste this code -- Stylus should pop up an Import form:

@-moz-document url(https://www.google.com/), 
               url-prefix(https://www.google.com/webhp), 
               url-prefix(https://www.google.com/search){
    /* Suppress spell-check marking in the search form (22 Sept 2021) */
    form[action*="/search"] span {
        background-image: none !important;
    }
}


Click "Overwrite Style" and then click the Save button in the left column. (First attached screenshot.)

(6) Test on Google... (Second attached screenshot.)

Success?

Note: This kind of site modification is subject to future failure when Google changes how it does things...

定位到答案原位置 👍 1

所有回复 (5)

more options

I had to make the opposite change. Right-click in the search bar and untick/uncheck "Check Spelling". That will hopefully stick.

more options

TerryN21 said

I had to make the opposite change. Right-click in the search bar and untick/uncheck "Check Spelling". That will hopefully stick.

I tried that, it seems like it's a second type of spellcheck, because it's like when that spellchecking is on the two different underlines are layered, possibly some sort of other more outdated spellchecking?

more options

Is it possible MacOS is somehow involving itself?

more options

jscher2000 said

Is it possible MacOS is somehow involving itself?

I origionally thought that, but it seems to only be happening for google, i've tried DuckDuckgo and bing, both of which do not have this problem.

more options

选择的解决方案

Okay, turns out it's a feature of Google's search pages. You can suppress it by applying a custom style rule to Google pages using either the Stylish extension or a userContent.css file. Stylish is easier for setup and tweaking, but if you already have a userContent.css file, see #5 below for the code.

(1) Install the extension from https://addons.mozilla.org/firefox/addon/styl-us/

(2) Click its "S" toolbar button and then the Manage button at the bottom

(3) In the left column, click the Write New Style button

(4) Enter any name you like in the name box in the left column

(5) Click in the box on the right and paste this code -- Stylus should pop up an Import form:

@-moz-document url(https://www.google.com/), 
               url-prefix(https://www.google.com/webhp), 
               url-prefix(https://www.google.com/search){
    /* Suppress spell-check marking in the search form (22 Sept 2021) */
    form[action*="/search"] span {
        background-image: none !important;
    }
}


Click "Overwrite Style" and then click the Save button in the left column. (First attached screenshot.)

(6) Test on Google... (Second attached screenshot.)

Success?

Note: This kind of site modification is subject to future failure when Google changes how it does things...