input type="url" rejects the URL before your normalizer ever runs
I had a normalizer I was pleased with. Trims, lowercases the host, drops www., adds https:// when the scheme is missing, strips a trailing slash. Handles example.com, EXAMPLE.com/, www.example.com/about/. Users typing example.com got a browser tooltip instead: Please enter a URL. The normalizer never ran.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in