<input type="url">
In order to stop Opera from prepending the value with http://, we need to do two things.
- Add a
novalidateattribute to the opening form tag. - Set the pattern attribute to an empty string (
pattern="").
Try entering a domain name alone (ex: foo.com), tab or click elsewhere to lose focus. You will notice that Opera will not 'fix' the value.