I’ve been experiencing some weird behaviour with Firefox for the last few days. I’ve been writing an extension and I’ve made the mistake of testing it out on my own profile.
At some point I noticed that there was no text in buttons on websites. It’s not much of a problem on a website you’re familiar with because you still know where to click. The problem is with a new page. You don’t want to accidentally click on Cancel instead of Submit. It was also displaying every option in a select box in a big long list on the page.
I’d given up on finding a solution online after a lot of searching. I decided to create a new profile to see if it was my installation, or just my profile that was broken. My new profile in Firefox worked just fine. When I noticed that I decided to copy over some of the files from my old profile to my new one so I could keep my bookmarks, etc.
I copied a select bunch over and the button text disappeared in my new profile. I deleted it and started over again. This time I copied the files over one-by-one. When I got to prefs.js I lost my button text.
I went through prefs.js deleting likely suspects and then I stumbled upon this group of preferences:
Once I commented these guys out I got my button text back.
I definitely did not add these preferences myself, and I’m not sure how they got there, but if you’re having the same problem as me then hopefully this will help you out.