Improve some configs
This commit is contained in:
parent
58d49da5c2
commit
2ab433a616
2 changed files with 8 additions and 2 deletions
|
@ -18,6 +18,9 @@ alias bspwm-single='echo "single" > /tmp/bspwm_mode; bspc wm -r'
|
|||
alias clip='xclip -selection clipboard'
|
||||
alias cp='cp -iv'
|
||||
|
||||
alias dcu='docker compose up -d'
|
||||
alias dcul='docker compose up -d && docker compose logs -tf'
|
||||
alias dcp='docker compose pull'
|
||||
alias df='df -h'
|
||||
alias dns-flush='sudo systemctl restart systemd-resolved.service && sudo systemd-resolve --flush-caches && sudo resolvectl flush-caches'
|
||||
alias doas='doas -- '
|
||||
|
|
|
@ -350,13 +350,16 @@ def make_js_code(username, password):
|
|||
|
||||
function fillFirstForm() {
|
||||
var forms = document.getElementsByTagName("form");
|
||||
var found_any = false;
|
||||
for (i = 0; i < forms.length; i++) {
|
||||
if (hasPasswordField(forms[i])) {
|
||||
loadData2Form(forms[i]);
|
||||
return;
|
||||
found_any = true;
|
||||
}
|
||||
}
|
||||
if (!found_any) {
|
||||
alert("No Credentials Form found");
|
||||
}
|
||||
};
|
||||
|
||||
fillFirstForm()
|
||||
|
|
Loading…
Reference in a new issue