set focus() to the password input field
Moderator: Moderators
set focus() to the password input field
Hello
It would be nice if the focus() could be set to password input field, so we do not need to use the mouse that much (or tab key).
It would be nice if the focus() could be set to password input field, so we do not need to use the mouse that much (or tab key).
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
Re: set focus() to the password input field
here is modified login.sh (for 1.4.3) with stuff you need +autosend via enter 

- Attachments
-
- login.zip
- (1.61 KiB) Downloaded 619 times
Re: set focus() to the password input field
I put the set focus() function into login.sh in the GIT so it will be there for the next release. I did not add the autosend part since login.sh has changed quite a bit since what genix modified and I was not clear on how to merge these.
If someone will add autosend to the modern login.sh file and test it I will take a look at getting it added to the GIT.
If someone will add autosend to the modern login.sh file and test it I will take a look at getting it added to the GIT.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM
Re: set focus() to the password input field
Perfect, thank You very much 

Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
Re: set focus() to the password input field
Here is the diff for 1.5, works with 1.4 also
- Attachments
-
- login.sh.diff.zip
- (705 Bytes) Downloaded 567 times
Re: set focus() to the password input field
working perfectly with 1.5.1 

Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
Re: set focus() to the password input field
I added this autosend function to the login.js file but note that Firefox already has this autosend feature built in so some will see no benefit from this. I think Chrome does too.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM
Re: set focus() to the password input field
Yes, I am using Firefox 11.0a1.pbix wrote:I added this autosend function to the login.js file but note that Firefox already has this autosend feature built in so some will see no benefit from this. I think Chrome does too.
So that is why it is working perfectly for me.
Just tried with Internet Explorer 9... here it is not working with "Enter", but it is instead working with "Tab".
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
Re: set focus() to the password input field
Well, I found that using onchange event processing in password fiels is totally wrong because that event triggered not only when you pressing Enter (in FF/Chrome) but always when input field loses input focus - i.e. pressing tab key, clicking mouse in surrounding area etc.
So onchange event processing should be removed
So onchange event processing should be removed
Re: set focus() to the password input field
Since you offer no alternative are you then saying we should abandon autosend altogether? Seem like a 180 from your previous requests.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM