feat: change jquery to pure js

This commit is contained in:
Urko 2023-07-02 21:28:53 +02:00
parent fc35559ab8
commit 0ae922e58d
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ func (p ArcherAx50) Login(user, pass string) error {
p.page.MustEvaluate(&rod.EvalOptions{
JS: `() => {
$("input.password-text").each((i,v) => {
document.querySelectorAll("input.password-text").forEach((v, i) => {
v.click();
v.focus();
v.value="` + pass + `";