summaryrefslogtreecommitdiff
path: root/crocoite/data/scroll.js
AgeCommit message (Collapse)AuthorFilesLines
2018-11-25behavior: Turn scroll JS code into classLars-Dominik Braun1-26/+31
2018-11-24behavior: Never scroll html/body elementsLars-Dominik Braun1-1/+1
Fixes weird positioning of elements tethered to viewport top.
2018-11-24behavior: Fix scrollingLars-Dominik Braun1-17/+27
- Introduce stop() method callable from Python. Looks like the old method (global variable) was not working (any more?). This is much better anyway. - Restore state of scrolled elements (not window). Fixes weird screenshots of twitter.com.
2018-01-20behavior: Scroll all DOM elementsLars-Dominik Braun1-0/+6
One example is Twitter, which uses a popover div for individual tweets. Scrolling the page won’t scroll that div’s content, which is required to load more replies.
2017-12-24Refactor behavior scriptsLars-Dominik Braun1-0/+1
No functional changes, just cleanup. Replaces onload and onsnapshot events. Move screen metric emulation, DOM snapshots and screenshots here as well.
2017-11-22Add example fixups for InstagramLars-Dominik Braun1-0/+2
2017-11-21Graceful page load timeoutLars-Dominik Braun1-2/+6
Stop scrolling script, wait for remaining resources to load.
2017-11-17Initial importLars-Dominik Braun1-0/+10