Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions expand.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,9 @@ if (loc.startsWith("https://news.ycombinator.com/")) {
//
// Test page: https://github.com/PolyMC/PolyMC/commit/ccf282593dcdbe189c99b81b8bc90cb203aed3ee
// Expected: all comments are loaded; "Load more comments..." button is not visible
//
// Test page: https://github.com/uBlockOrigin/uAssets/issues/5190
// Expected: all comments are loaded; "Load more" button is not visible
if (loc.startsWith("https://github.com/")) {
observe(1000, [
// "N hidden items; Load more..."
Expand All @@ -557,6 +560,8 @@ if (loc.startsWith("https://github.com/")) {
'#js-progressive-timeline-item-container button.ajax-pagination-btn',
// "Load more comments..." on a commit page
'#all_commit_comments button.ajax-pagination-btn',
// "Load more" on an issue page
'[class^="IssueTimeline-module__loadMoreWrapper--"] button[class^="prc-Button-ButtonBase-"]',
// "N similar comments"
'summary.pagination-loader-container > .Details-content--closed',
// "Show comment"
Expand Down