HackerNew icon indicating copy to clipboard operation
HackerNew copied to clipboard

Endless scrolling not working on comment pages

Open SamHasler opened this issue 11 years ago • 3 comments

Endless Scrolling fails to load more entries on some pages

~~e.g. this page: https://news.ycombinator.com/item?id=5853900~~

SamHasler avatar Oct 02 '13 08:10 SamHasler

If I inspect the background page I see this in the console:

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution. chrome-extension://lgoghlndihpmbbgmbpjohilcphbfhddd/background.html:9

SamHasler avatar May 28 '14 10:05 SamHasler

Looks like $temp.find('td.title:first-child') isn't finding anything any more

https://github.com/tommoor/HackerNew/blob/e79915dc3b38eb0ce6d1027adcb8c23e11eba4fc/js/hn.js#L210

SamHasler avatar Jul 22 '14 12:07 SamHasler

Endless scrolling is still broken, but there is a "More" link that works. I'd accept fixes for this from anyone that cares.

tommoor avatar Feb 24 '17 06:02 tommoor