Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

spell check the entire web page/site

  • 3 réponses
  • 0 a ce problème
  • 1 vue
  • Dernière réponse par cor-el

more options

Is it possible to spell check the entire web page using both Hunspell built-in dictionaries and user-defined dictionaries *.dic, already prepared text in Firefox. As it is done in text editors like Libre Office (also uses Hunspell) but for web site, checking the text from top to bottom with errors in a separate window, so spell check is not only in the text input/search field.

Is it possible to spell check the entire web page using both Hunspell built-in dictionaries and user-defined dictionaries *.dic, already prepared text in Firefox. As it is done in text editors like Libre Office (also uses Hunspell) but for web site, checking the text from top to bottom with errors in a separate window, so spell check is not only in the text input/search field.

Solution choisie

You can possibly switch the page to design mode (contentEditable) mode via a JavaScript bookmarklet (you may have to click in the page). javascript:void(document.body.contentEditable=document.body.contentEditable=='true'?'false':'true');

You can also get the page content and check that for errors, but that may not work properly with missing line breaks.

javascript:void(prompt(,document.body.textContent))
Lire cette réponse dans son contexte 👍 2

Toutes les réponses (3)

more options

Solution choisie

You can possibly switch the page to design mode (contentEditable) mode via a JavaScript bookmarklet (you may have to click in the page). javascript:void(document.body.contentEditable=document.body.contentEditable=='true'?'false':'true');

You can also get the page content and check that for errors, but that may not work properly with missing line breaks.

javascript:void(prompt(,document.body.textContent))
more options

cor-el said

You can possibly switch the page to design mode (contentEditable) mode via a JavaScript bookmarklet (you may have to click in the page). javascript:void(document.body.contentEditable=document.body.contentEditable=='true'?'false':'true'); You can also get the page content and check that for errors, but that may not work properly with missing line breaks. javascript:void(prompt(,document.body.textContent))

Great, thanks for the reply! Perhaps there is a way/script to quickly move the cursor from one error to another in such design mode?

Modifié le par nz-b

more options

contentEditable is what is used by a rich text editor like TinyMC (i.e. you can edit text in this mode), there is no way to jump to an error AFAIK.

You can make it easier to spot errors as you can create ui.SpellCheckerUnderline prefs to specify the appearance of errors (try Style:4 or Style:3 and RelativeSize:300).

ui.SpellCheckerUnderline (#FF0000)(String)
ui.SpellCheckerUnderlineStyle (5) [0:none 1:dotted 2:dashed 3:solid 4:double 5:wavy]
ui.SpellCheckerUnderlineRelativeSize (100|200)