Reddit - Load 'Continue this thread' inline

Changes 'Continue this thread' links to insert the linked comments into the current page

2020-08-08 기준 버전입니다. 최신 버전을 확인하세요.

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

작성자
spiralx
평점
0 0 0
버전
1.9.6
생성일
2014-10-08
갱신일
2020-08-08
크기
13.9KB
라이선스
해당 없음
적용 사이트

Reddit "Deep Thread" Expander

When browsing comment pages on Reddit, this script changes the behaviour of "Continue this thread" links so that when clicked, instead of loading any further child comments in a new page, the comments are loaded in the background and inserted directly into the current page, replacing the clicked link. Any "Continue this thread" links within loaded content (including content loading via a "Load more comments" link) are also located and changed to load inline.

History

1.9.6 (2020.08.08)
  • Reduced size of load more links compared to comment text
  • Fixed script icon
  • Removed some unnecessary code
1.9.5 (2018.07.11)
  • Updated jQuery to v3 and source from unpkg.com
1.9.4 (2018.02.11)
  • Added @icon field in metadata as SVG wasn't displaying on the installed userscript page
1.9.3 (2017.12.03)
  • Changed base-64 encoded PNG icons to an SVG icon
1.9.2 (2017.10.11)
  • Gets correct comment ID for links
  • Changed location in comment HTML to use as its root
  • Get children of first comment when it is already on the page
1.9.1 (2017.10.11)
  • Fix broken $target selector
1.9.0
  • Catch failed loads, log them to the console and then restore original load link
1.7.0
  • Handles "load more comments" links to avoid RES-incompatibility
  • Highlights loaded comments
  • Style tweaks
1.3.0
  • Update to jQuery 2.2.0
  • Removed GM_addStyle and GM_getResourceURL calls and use @grant: none;
  • Changed the expand link to stretch across the width of the comments
  • Hid original .deepthread:after image better
1.2.0
  • Replaced the current + icon, boosted font size
  • Changed to begin at document-end
1.1.0
  • Removed processSummaries utility method
  • Added $(...).spinner() to create spinner animation
1.0.0
  • Updated name and description
  • Added Reddit icon for script
  • Use data URLs for images - faster, no broken links
  • Tested in Firefox/Greasemonkey and Chrome/Tampermonkey
  • Rewritten using ES6 features e.g. template strings
  • Simplified code
  • Added JSHint settings
  • Fixed potential jQuery name pollution
  • Use CSS rules for styling rather than setting via jQuery
0.2.0
  • Updated spinner icon
  • Fixed sub-reddit CSS overriding the size of the expand icon
0.1.0
  • Fixed recursive link conversion when clicking on "Load more comments"
0.0.3
  • Added recursive link conversion
  • Removed sidebar hiding for now
0.0.2
  • First public version.

TODO

  • Fix visibility issue with very deep nesting.
  • Auto-load deep threads on page load?
  • User preferences for above.