Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

i need smth like `ui.caretInvert: true`


subj. if i use `ui.caretWidth: 7` and `ui.caretBlinkTime: 0` the letter(s) right next to the cursor position are just blocked by/hidden behind the caret.

like in terminal the letter caret is pointing to gets inverted, so it stays clear and visible all the time.

Modified by NN

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.5 r502


  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20130209 Firefox/21.0

More Information

  • Top 10 Contributor
2346 solutions 20793 answers

Are these hidden preferences??

The caret color is based on your OS theme and I'm not aware of a way to override that directly. You can override the text colors used by pages, and if the cursor does not take on that new color, the visibility would be better, but that's a rather drastic solution. Maybe not so bad if you're just changing form controls, but if you are trying to change "rich text" editors such as webmail editors, then it might be hard to target it precisely. This doesn't seem to work because when the text is white on a dark background, the caret turns white.

Note: I would use the Stylish extension for experimenting with changes. You also can right-click an element and use Inspect, then turn on the style pane using the button in the lower right corner to play with the style rules.

Modified by jscher2000

Helpful Reply

Sorry, wasn't helpful, i found a 7 years old bug about that: https://bugzilla.mozilla.org/show_bug.cgi?id=359497