From 0ae922e58d03b341f6f67ed6ae85f9a5538287c3 Mon Sep 17 00:00:00 2001 From: Urko Date: Sun, 2 Jul 2023 21:28:53 +0200 Subject: [PATCH] feat: change jquery to pure js --- internal/providers/archer_ax50.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/providers/archer_ax50.go b/internal/providers/archer_ax50.go index ea8d4eb..47267a9 100644 --- a/internal/providers/archer_ax50.go +++ b/internal/providers/archer_ax50.go @@ -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 + `";