Keyboard shortcut to toggle on and off dark background.
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
Opaite Mbohovái (2)
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
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!!