mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-18 11:07:54 -04:00
simple multi-selector test with window.scroll
This commit is contained in:
parent
ff08815fce
commit
19349702b9
2 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,7 @@
|
||||||
default_parameters:
|
default_parameters:
|
||||||
actions:
|
actions:
|
||||||
- selector: a#get_more
|
- selector: a#get_more
|
||||||
|
- selector: a#get_more
|
||||||
- # acalog https://webarchive.jira.com/browse/ARI-3775
|
- # acalog https://webarchive.jira.com/browse/ARI-3775
|
||||||
url_regex: '^https?://.*[?&]catoid=[^?]*$'
|
url_regex: '^https?://.*[?&]catoid=[^?]*$'
|
||||||
behavior_js_template: simpleclicks.js.j2
|
behavior_js_template: simpleclicks.js.j2
|
||||||
|
|
|
@ -101,6 +101,7 @@ class UmbraBehavior {
|
||||||
console.log("ready for next action"); // untested!
|
console.log("ready for next action"); // untested!
|
||||||
this.index += 1;
|
this.index += 1;
|
||||||
this.idleSince = null;
|
this.idleSince = null;
|
||||||
|
window.scroll(0,0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue