Currently, I use iOS Orion with Dark Reader for dark mode, and when I open a new tab, the page always flashes white before turning dark. Since I use Orion at night in dark mode, it feels like my phone is throwing a flashbang in the dark .
This issue was reported in the forum as early as 2021 but has yet to be resolved. I began reviewing the reports related to this bug on the forum, as well as Dark Reader's help documentation. Here's Dark Reader's explanation:
Screen flashes white when opening a new tab or navigating to a website
Before loading a website, the browser shows a theme background color by default. Select a dark theme in your browser settings.
This means that the bug is not caused by the extension itself, and Dark Reader works correctly in Orion after several updates. Dark Reader suggests that this issue can be solved by switching the browser to a dark theme. So I tested this in Safari:
After enabling the system-wide dark mode, Safari switched to dark mode along with the device. I found that even with the dark mode extension disabled, when opening a new webpage or tab, the initial page still renders in dark mode before switching to light mode if necessary. This led me to conclude that Safari behaves in such a way that even without any extension interference, it renders the initial page in dark mode when the device is in dark mode. In contrast, Orion, when in dark mode, immediately renders the new tab or webpage in light mode.
There are several forum reports about this bug, most stating that the white flash is due to Dark Reader’s loading delay, causing the page to flash white initially. Some have also suggested that Orion should natively support webpage dark mode.
I believe a potential solution to this bug could be for iOS Orion to follow Safari’s approach. That is, if the device is in dark mode, the browser should initially render the page in dark mode when opening a link, leaving the subsequent rendering to the extension. If the user hasn’t enabled a dark mode extension (such as Dark Reader), the page would naturally switch to light mode afterward. However, if a dark mode extension is enabled, the browser would first render the page in dark mode, and then the extension would take over the rendering in dark mode. This way, users won’t experience the sudden white flash when opening links at night. As for users who don't use dark mode, this fix won’t affect them, as the rendering is based on the browser’s dark mode, which they wouldn’t have enabled. This rendering occurs only when the page loads, and the short rendering time, depending on internet speed and the page’s load time, shouldn’t slow down the page.