-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Endless Scrolling #30
base: master
Are you sure you want to change the base?
Conversation
Wow, thanks! In your testing did it only load one page and then not load further pages? |
On some pages yes. I'll see if I can fix that next week.
…On Feb 25, 2017 6:40 AM, "Tom Moor" ***@***.***> wrote:
Wow, thanks! In your testing did it only load one page and then not load
further pages?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#30 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AADUBcy-kqwVDzmXmOpmQmwCSyiG61C2ks5rf8zhgaJpZM4MLVKJ>
.
|
Maybe we should merge this, it's much better than what's in use already |
I have something that's much better. I'll try and find time to commit it
tomorrow. If you don't here from me soon by all means merge.
…On Apr 19, 2017 4:13 AM, "Tom Moor" ***@***.***> wrote:
Maybe we should merge this, it's much better than what's in use already
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#30 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AADUBR_SSjs5yZXsi_cVZTapIt9IV_1lks5rxXvfgaJpZM4MLVKJ>
.
|
I've added my current version. It's much better than the live version, however, there are some issues which I've listed below. They're relatively minor apart from the ":warning:" layout one. I'll see if I can fix that but I probably won't be looking at the rest any time soon. Untested
Known issues:
NB: I also tested the links on the lists page and couldn't find anything other the the issues above. |
@SamHasler I think HN has blocked me for opening too many comments pages at once, so I hope this info is useful :-/ |
@seanf Thanks for the test page. If the block doesn't lift try emailing [email protected] I'm fairly sure HN changed since I made this PR (I think the selectors are simpler now). I've fixed more pages now so I'll have to update it if I find the time. |
Fixes #23
Tracking testing progress. This is the current state of the patch:
Page Types
News (Home) —
td.title a[href^="news?p="]
Newest —
td.title a[href^="newest?next="]
Threads
newcomments
Upvoted Stories (private)
Upvoted Comments (private)
Favorite Submissions
Favorite Comments
Show
Ask
Jobs
Show New
Submitted
Over
check for any other page types I've missed
NB: Threads "above the fold" bug is probably present on all pages given the right data/screen-size
Page Types no longer used? Remove code:
td.title a[href^="saved"]
Now called 'Favorite Stories'. See above.
td.title a[href^="/x"]
Misc
td.title
from the selectors more performant/future-proof?