feat: change jquery to pure js
This commit is contained in:
parent
fc35559ab8
commit
0ae922e58d
|
@ -33,7 +33,7 @@ func (p ArcherAx50) Login(user, pass string) error {
|
||||||
|
|
||||||
p.page.MustEvaluate(&rod.EvalOptions{
|
p.page.MustEvaluate(&rod.EvalOptions{
|
||||||
JS: `() => {
|
JS: `() => {
|
||||||
$("input.password-text").each((i,v) => {
|
document.querySelectorAll("input.password-text").forEach((v, i) => {
|
||||||
v.click();
|
v.click();
|
||||||
v.focus();
|
v.focus();
|
||||||
v.value="` + pass + `";
|
v.value="` + pass + `";
|
||||||
|
|
Loading…
Reference in New Issue