2018
USERSCRIPT - Nexto (infinite scroll) FOR Babelio - Découvrez des livres, critiques, extraits, résumés
1 commentvar implementations = [
{
site: "https://www.babelio.com/mabibliotheque.php", // regex to compare against site URL, similar to @include
nextLinkSelector: ".fleche.icon-next", // css selector for the next link, tip: find the current page button and do next sibling
contentSelector: ".mes_livres", // the content that will be added to from the next page
javascript: false // set this to true if the website uses javascript to load content, 50% chance it'll work
},
{
site: "https://www.babelio.com/livres-", // regex to compare against site URL, similar to @include
nextLinkSelector: ".pagination .icon-next", // css selector for the next link, tip: find the current page button and do next sibling
contentSelector: "#debug", // the content that will be added to from the next page
javascript: false // set this to true if the website uses javascript to load content, 50% chance it'll work }
}
];
2017
JAVASCRIPT - Infinite Scroll - 'infinite-scroll' Questions - Page 2 - Stack Overflow
Tagged Questions:
Infinite Scrolling, also known as endless scrolling, is a technique that is widely used by websites and Web applications that host lots of content on a page where pagination would traditionally have been used. Infinite scrolling involves initially loading only one page of content. As the user ...
2015
FLICKT - mars 2015 - Introducing the New! Shiny ! Photolist framework - code.flickr.com
(via)Some photolist pages on Flickr use infinite scrolling, and some display results one page at a time. Regardless of how a page shows its photos, it starts to feel messy when there is an incomplete row of photos hanging off the end of the page. If there is more content in the set, the last row should be full. However, since we fetch photos from the API in fixed batch sizes, things don’t always work out so nicely, leaving “leftovers” in the bottom row. Borrowing from typesetting terminology, we call these leftover photos orphans. (We can also paginate backwards; leftovers at the top are technically widows but we’ll just keep using the term orphans for simplicity.)
1
(3 marks)