On Wednesday, 11 July 2018 12:04:26 BST Patrick Wigmore wrote:
> I think you've hit the nail on the head there. Android seems to have a
> special browser that appears for signing in to captive portals, and it
> doesn't render web pages quite the same way as the usual browser.
>
> It makes sense that there should be a special browser, since users
> will not necessarily be using the main browser but might still expect
> internet access for other apps that won't show a captive portal log in
> page.
It's worse than that; I've found that every browser that I've tried on every
device that I have access to exhibits different behaviours with this code:
1. On Android Phones, an alert is put up with a message to tap to sign in to
the network. This launches the 'fake browser' and once 'Continue' is clicked
on the Sign In page, the WMT content is loaded.
2. On my Kubuntu laptop, connecting to the WiFi AP has no visible affect but:
a. When Chromium is launched, the Sign in Page is loaded automatically.
b. When Firefox is launched, there is no alert sound, but a hardly
visible banner at the top of the page tells me to click on a button to
sign in. After that the behaviour is the same as on a phone.
3. On my son's Windows 10 PC, Chrome behaves in a similar manner to Chromium
on Linux and IE also gives no alert.
4. I currently have no access to an iPhone or Windows phone.
> Looking at the home page HTML and CSS, I think the most likely element
> to cause overflow off the screen is the image that says Wimborne Model
> Town Banner.
Actually I had problems with the logo, the button text size and the background
image.
Using the technique that you suggested, I think I've cracked the logo size. I
found some CSS code on the Internet that seems to fix the background image
(the html code to do the same job only worked on some browsers) and I've had
to simply reduce the font size in the buttons to make that work.
The biggest problem that I had is that what worked on my Moto G5 Plus, didn't
on my wife's Moto G6 Plus and/or my laptop and vice versa. I've now got it
working reasonably well across all devices that I have access to, but more
testing will obviously be needed.
Thanks for putting me on the right trail.
--
Terry Coles
--
Next meeting: Bournemouth, Tuesday, 2018-07-17 20:00
Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/
New thread: mailto:[email protected] / CHECK IF YOU'RE REPLYING
Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR