Detect and add fallback if document colors are disabled in Firefox

This PR adds a check of the Firefox preference `browser.display.use_documents_colors`, and triggers the fallback if appropriate.