diff --git a/scripts/system/interstitialPage.js b/scripts/system/interstitialPage.js index 670d21c7a7..54bb26d9ed 100644 --- a/scripts/system/interstitialPage.js +++ b/scripts/system/interstitialPage.js @@ -607,5 +607,11 @@ } } + // location.hostname may already be set by the time the script is loaded. + // Show the interstitial page if the domain isn't loaded. + if (!location.isConnected) { + domainChanged(location.hostname); + } + Script.scriptEnding.connect(cleanup); }());