We want to do some simple checks and redirect users in some cases (by setting window.location), but doing it in site JS creates a flash of the original page currently.
Version: 1.22.0
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=27488