Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Keyboard shortcut to toggle on and off dark background.

  • 2 відповіді
  • 1 має цю проблему
  • 14 переглядів
  • Остання відповідь від bobby112283

more options

I like to toggle back and forth from a dark background to a light background depending on the website. I'm using Firefox's built-in feature. I downloaded an add-on to easily do this from the toolbar(https://addons.mozilla.org/en-US/firefox/addon/toolbar-buttons/). However, I would like to do this through the keyboard. Is this possible? AppleScript code would be an acceptable option.

This is how you get to the setting: preferences>content>colors>Override the colors specified by the page with my selections above

I like to toggle back and forth from a dark background to a light background depending on the website. I'm using Firefox's built-in feature. I downloaded an add-on to easily do this from the toolbar(https://addons.mozilla.org/en-US/firefox/addon/toolbar-buttons/). However, I would like to do this through the keyboard. Is this possible? AppleScript code would be an acceptable option. This is how you get to the setting: preferences>content>colors>Override the colors specified by the page with my selections above

Усі відповіді (2)

more options

Hey bobby Using your keyboard:

1.Press 'Ctrl' + 'F2' to highlight the menu bar and then press the right arrow to highlight the 'Firefox' menu. 2.Press the down arrow to highlight 'Preferences' and then press 'Enter'. 3.Make sure the 'Content' tab is selected. If not use the left / right arrow keys to select it. 4.Use the 'Tab' key to highlight the 'Colors' button and press the 'Spacebar' to select. 5.For your text colour, press 'Tab' to jump to it and press the 'Spacebar' to bring up the colour swatch. 6.Use the cursor keys to browse the list of colours and when the colour you want is highlighted press 'Enter'. 7.Repeat steps 5 and 6 to change the background color. 8.Make sure the 'Use system colors' checkbox is unchecked by using 'Tab' to navigate to the checkbox and press 'Spacebar' (if it is selected). 9.Next make sure the 'Allow pages to choose their own colors, instead of my selections above' checkbox is turned - 'Tab' to the checkbox and press 'Spacebar' to turn it off (uncheck the box). 10.Press 'Enter' and then press 'Apple' + 'W' to return to Firefox. 11.Finally press 'Apple' + 'R' to reload the page with your colour settings.

Try this and report back whether it worked or not

more options

I didn't get very far. I'm using a Mac computer and Firefox 48.0.1.

I pressed "command" "," to get the preferences.

Once preferences is open I cannot press the down key to move down to Content, I have to click the mouse so focus is in that section.

Once I am in content I press the tab and it never reaches the colors button. it goes from "learn more" > "learn more" > address bar > content.

That's as far as I got, if I get as far as your describing from my keyboard I can create a programmable key so I could toggle back and forth.

Thanks for helping!!