key


SUBMITTED BY: uuuuuu

DATE: Nov. 11, 2016, 7:54 p.m.

FORMAT: Text only

SIZE: 789 Bytes

HITS: 938

  1. You can try page up and down as replacement for your scroll function.
  2. ' Page Up '
  3. EVENT TYPE=KEYPRESS SELECTOR=* KEY=33
  4. ' Page Down '
  5. EVENT TYPE=KEYPRESS SELECTOR=* KEY=34
  6. And in a row:
  7. ' Page Up '
  8. EVENTS TYPE=KEYPRESS SELECTOR=* KEYS="[33,33,33,33,33,33,33,33,33,33,33]"
  9. ' Page Down '
  10. EVENTS TYPE=KEYPRESS SELECTOR=* KEYS="[34,34,34,34,34,34,34,34,34,34,34]"
  11. It's like 0.88 * window.innerHeight:
  12. ' Page Up with Javascript '
  13. URL GOTO=javascript:window.scrollBy(0,-0.88*window.innerHeight);
  14. ' Page Down with Javascript '
  15. URL GOTO=javascript:window.scrollBy(0,0.88*window.innerHeight);
  16. And with arrow keys:
  17. ' Up (arrow)
  18. EVENTS TYPE=KEYPRESS SELECTOR=* KEYS="[38,38,38,38,38,38,38]"
  19. ' Down (arrow)
  20. EVENTS TYPE=KEYPRESS SELECTOR=* KEYS="[40,40,40,40,40,40,40]"

comments powered by Disqus