Unedit and Undelete for Reddit

Creates the option next to edited and deleted Reddit comments/posts to show the original comment from before it was edited

Από την 07/06/2022. Δείτε την τελευταία έκδοση.

Δημιουργός
DenverCoder1
Βαθμολογίες
0 0 0
Έκδοση
3.7.1
Δημιουργήθηκε την
20/07/2020
Ενημερώθηκε την
07/06/2022
Μέγεθος
10 KB
Άδεια
MIT
Εφαρμόζεται σε

Unedit and Undelete for Reddit

Creates a link next to edited and deleted Reddit comments and submissions to show the original post from before it was edited/removed. The unedited comment is displayed inline. This script is compatible with the Redesign and Old Reddit.

This script makes use of the Pushshift Reddit API.

Installation

This script can be installed to most userscript browser extensions such as Violentmonkey, Tampermonkey, and others using the green button on the Greasy Fork page.

Download this userscript on Greasy Fork

Alternatively, you may copy the contents of script.js into a new script using any userscript browser extension.

Example usage:

Show Original

Shown


Changes in 3.7

  • Added support for viewing comments removed by moderators

Changes in 3.6

  • Check an second source for comments so more recent comments are less likely to be "not found"
  • Fixes to getting comment ids in Reddit redesign

Changes in 3.5

  • Added compatibility with Old Reddit links without "old.reddit" in the URL
  • Added additional @includes for more compatibility

Changes in 3.4

  • Fixed @match for more compatibility

Changes in 3.3

  • Added support for profile pages (Redesign)

Changes in 3.2

  • Works more accurately in post previews (Redesign feature where the post is shown in a popup when clicked from post list)

Changes in 3.1

  • Fixed missing styling on comments shown in the Redesign
  • Fixed placement of inline comment to work on comments that do not end with a paragraph (<p>) element

Changes in 3.0

  • Added support for deleted comments

Changes in 2.0

  • Original comment is converted from markdown to HTML to show custom formatting.
  • Unedit now supports self-text submissions (old Reddit only)