Right to left (BiDi) support in Firefox

Whenever I install Firefox on a new computer, I find myself hitting Ctrl-Shift-X to switch the text box direction to now avail. Unfortunately the way to turn this option on is quite hidden.

You have to navigate to about:config, type bidi in the filter box, and double click the line that says bidi.browser.ui. That will set its value to true. All you have to do now is restart Firefox and the View->Switch Page Direction and Edit->Switch Text Direction menu items will be added along with the Ctrl-Shift-X shortcut.

Hope this helps some poor soul someday.

15 Comments on “Right to left (BiDi) support in Firefox”

By Ali. January 27th, 2008 at 04:54

>Hope this helps some poor soul someday.

Yes, it did.
Yes. it did.

Thank you,
God bless your soul.

By One more poor soul. June 20th, 2008 at 19:51

Thank you for your help.

By Another poor soul. August 12th, 2008 at 08:05

Thanks a lot.

By Ido Schacham. August 13th, 2008 at 00:05


By Shii. August 29th, 2008 at 06:02

Why does Firefox allow BiDi in the location bar anyway?!

By gooli. August 30th, 2008 at 15:24

Heh, that’s odd, didn’t know you could do that.

I guess they’re just using the same text control for the address bar as they are using in the web pages. Maybe someday when the URLs actually become unicode it might be useful. For my mother :).

By Roy. September 7th, 2008 at 03:33

Thanks so much… I’ve been avoiding writing emails in Hebrew in Gmail partly because of this problem. That will change now :)

By Ofer. January 5th, 2009 at 10:36

God bless you!

By Molly. February 4th, 2009 at 19:44

Thank you SOOOOO much for posting this. It’s been driving me crazy for a week now, and I’ve been forced to use IE.

By Josh. February 8th, 2009 at 20:25

Haha, genius. It helped me, I was on the verge of throwing my laptop.

By tadar. June 27th, 2009 at 23:18

Woohoo!! finally!

By Gadi. August 8th, 2009 at 11:13

I love you, thank you!

By getfocus. March 21st, 2010 at 11:47

[...] Focus functionWe can work on only active object. To activate object we need focus … getFocus() …gooli.org Right to left (BiDi) support in FirefoxWin32: GetFocus across process boundries. A very simple Win+R enhancement Right to left (BiDi) [...]

By Phoinx. June 5th, 2010 at 05:09

Ctrl+Shift+X !

Thanks a lot!

By dashakol. September 26th, 2010 at 22:22

You just saved another poor soul
Thanks a lot. I had the same problem with Farsi when I wanted to add an English word it became scrambled. now every thing is fine. It’s odd that you can change the text direction by pressing left or right ctrl+shift in IE, MS word, even notepad but you can’t do it in Firefox and it should be through it’s own keyboard shortcut ctrl+shift+X which is now available thanks to your solution.