Since no one else is doing it, I'll try, but I'm not an expert with adblock rules.
Last active
January 8, 2024 12:31
-
-
Save endolith/72ac5e69e037be02b118adbedcdeac59 to your computer and use it in GitHub Desktop.
Adblock ublock kill infinite scrolling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Title: Finite Scroll (kills infinite scrolling) | |
! Last modified: 2017-10-24 | |
! Homepage: https://gist.github.com/endolith/72ac5e69e037be02b118adbedcdeac59 | |
! This URL: https://gist.githubusercontent.com/endolith/72ac5e69e037be02b118adbedcdeac59/raw/finite_scroll.txt | |
! TODO: Add these scripts: https://infinite-scroll.com/ | |
! Forbes infinite scroll (and all other AJAX) | |
! https://www.reddit.com/r/web_design/comments/4i6bpd/never_ending_scroll_down_on_some_websites_is_it_a/d2w3qj2 | |
||forbes.com$xmlhttprequest | |
forbes.com###article-container-1 | |
forbes.com###article-container-2 | |
forbes.com###article-container-3 | |
forbes.com###article-container-4 | |
! Works, but slows down browser as it loads each hidden article. Better to block the loading code itself. | |
reuters.com##.Article_container_1ixvf:nth-of-type(n+2) | |
abcnews.go.com##.article:nth-of-type(n+2) | |
thedailybeast.com##.ArticleSidebarWrapper:nth-of-type(n+2) | |
##.ajax.post.ajax-post | |
leaf.tv##.component-preloader | |
leaf.tv###infinite-articles__item--1 | |
leaf.tv###infinite-articles__item--2 | |
leaf.tv###infinite-articles__item--3 | |
leaf.tv###infinite-articles__item--4 | |
inverse.com##.article-stream | |
mashable.com##.page-container:nth-of-type(n+2) | |
electronicdesign.com##.processed.jscroll-added | |
latimes.com##.trb_ar_summary_wrapper | |
! latimes.com##.trb_ar_summary_wrapper:nth-of-type(n+1) | |
latimes.com##.trb_ar:nth-of-type(n+2) | |
slate.com###story-1 | |
slate.com###story-2 | |
slate.com###story-3 | |
slate.com###story-4 | |
blastingnews.com###content-page-p2 | |
blastingnews.com###content-page-p3 | |
blastingnews.com###content-page-p4 | |
blastingnews.com###content-page-p5 | |
Sorry I don't maintain this. I should make it into a proper repo so people can submit PRs?
A long time ago I created a repo for infinite scrolling. I update it infrequently.
Unfortunately, I don't use uBlock. I use umatrix. It is a good list to spot the targets though.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah I only need a tenth of the AJAX calls being done on a site:) Loading a video about a related article, getting a full list of the top articles now, no thanks. It all click bait to increase the sites search engine rankings