Enable infinite scroll on StartPage's image search results
This userscript implements infinite scroll on Startpage's images results tab.
If you filter AI images with one of the filter lists available here, you know that it a pain when there are only a couple of images per page, and have to continuously click "next page". That and the fact the you lose the previous page in the process.
The script does it for you and keeps all the sub-pages with the main one. The next page fetch is triggered when the navigation bar at the bottom of the page appears on the screen. The page number starts spinning when the browser is waiting, receiving and dealing with the next page. It stops spinning and turns green when the page has loaded.
For the tech-savvy: it does this by adding an iframe for each sub-page. Hiding unnecessary elements of the interface in the process.
Performance issue.
Displaying a sub-page can take a few seconds. This is caused only by the overall performance of startpage. Further versions of the script could be modified to trigger download in advance, before scrolling reaches the bottom of the current page.
Accuracy and stability of results is apparently a problem with startpage images results. You will see the same result appearing several times on successive pages. This isn't caused by the userscript, you can test by yourself with a query hiding many AI results, and with this script disabled. You'll witness the same effect when navigating to the next pages.
See all Startpage modifications
For more userscripts, styles, extensions, tips, ..., visit my programming page.