Disable date picker
-
Is it possible to disable Date picker in forms? I don't find it useful and while using tab it forces me to push a couple times more (and if I have to go over the similar form multiple times this gets more annoying).
-
That's a bummer.
And no, I can't use Spatial Navigation it seems. As I said - I have a web form with a couple of fields so:
- it doesn't work with plain textfield (single line) - it simply stays in the field
- with textarea it selects the text (logically)...
It would really be cool to allow disabling some none-standard features...
-
yay! worked like a charm - thanks! (also - no need to be sarcastic ).
-
nice job @Gwen-Dragon
-
I was playing with it a bit and here's the modified version:
(function() { 'use strict'; var types = ['date','week','time']; var inputs = document.getElementsByTagName("input"); for (var i = 0; i < inputs.length; i++) { if (inputs[i].type && types.includes(inputs[i].type)) inputs[i].setAttribute('type','text',0); } })();
@gwen-dragon said in Disable date picker:
Now all your bad HTML5 date pickers are gone.
I thought this was a bit sarcastic but in a funny way - no offence was taken nor I felt insulted or something
PS. I'm also non-english
-
OK. It's me again
There is a slight problem with the above solution -- it disables date picker everywhere -- even if the website provides it's own one.
And I've realised my main "problem" with build-in date picker is that it suddenly makes the filed contains "3 items" (separate date parts) instead of one, which is mostly annoying when using keyboard for input...
Bottomline - it would be cool if vivaldi wouldn't provide it's own date picker and left it to websites...
-
@wojtek said in Disable date picker:
it would be cool if vivaldi wouldn't provide it's own date picker
Your problem is accessibility? The please report a bug/feature request to Vivaldi.
Thanks, done: VB-32495
-
What is date picker? I thought that is date picker - s. Screenshot.
0_1505118279357_Date_Picker.png
I installed this Version Disable_ Datepicker.user.js
(function() { 'use strict'; var types = ['date','week','time']; var inputs = document.getElementsByTagName("input"); for (var i = 0; i < inputs.length; i++) { if (inputs[i].type && types.includes(inputs[i].type)) inputs[i].setAttribute('type','text',0); } })();
But how can I test, that Disable_ Datepicker.user.js