Firefox doesn't seem to afford this beyond installing an extension. Somewhat annoyed that Firefox, with the reputation that it has for privacy and choice, doesn't offer a simple toggle in their settings panel.
Chrome can do the opposite, white list per-domain.