Remove "Sign in to SSID" after successful login

I was able to customize the hotspot captive portal.

I modified the alogin.html so that it will redirect to Wikipedia after successful login:

<script>
	window.location.href = 'https://www.wikipedia.org/';
</script>

This works but the “Sign in to SSID” on top of the mobile phone screen does not go away:

sign-in.png
Any idea how to remove this after successful sign-in?