unedit-for-reddit

Unedit and Undelete for Reddit

Dev Pro Tips Discussion & Support Server Issues Greasy Fork users Chrome Web Store users Firefox users

Warning

Unedit and Undelete for Reddit relies on Pushshift to work.

At this time, Pushshift is only available to approved moderators as announced here.

Checking r/pushshift for updates is recommended.

June 22, 2023

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 will be displayed inline, right below the current comment or submission’s text.

This script is compatible with both Reddit’s Redesign and Old Reddit.

The Pushshift Reddit API is used for fetching the comments as they will be archived soon after they have been posted.

How to use

instructions

Installation

Install with Greasy Fork Available in the Chrome Web Store Firefox Get the Add-on

As a Userscript

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

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

Note: Some userscript engines such as Bromite and base Chromium do not support @require (see here). In order to get this userscript to work without a dedicated extension, you will need to copy-paste the contents of showdown.min.js at the top of the script, just below the // ==/UserScript== line.

As a Chrome Extension

Install from the Chrome Web Store, or alternatively, download or clone this repository, enable “Developer mode” at <chrome://extensions/>, and load the folder unpacked.

As a Firefox Addon

Install from Mozilla Add-ons, or alternatively, follow these steps to build and install from the source:

To sign the extension for use in Firefox, you will need credentials from https://addons.mozilla.org/en-US/developers/addon/api/key/. Create a copy of .env.example named .env and replace the placeholders with your API key and secret. Install web-ext with npm install -g web-ext and sign the extension with make sign-firefox. The generated extension will appear as a .xpi file in ./web-ext-artifacts. This file can be opened in Firefox to install the add-on.

Known issues

The following are known limitations that cannot be fixed:

Changelog

Changes in 3.17.4

Changes in 3.17.3

Changes in 3.17.2

Changes in 3.17.1

Changes in 3.17.0

Changes in 3.16.4

Changes in 3.16.3

Changes in 3.16.2

Changes in 3.16.1

Changes in 3.16.0

Changes in 3.15.1

Changes in 3.15.0

Changes in 3.14.0

Changes in 3.13.0

Changes in 3.12.1

Changes in 3.12.0

Changes in 3.11.0

Changes in 3.10.0

Changes in 3.9.5

Changes in 3.9.4

Changes in 3.9.3

Changes in 3.9.2

Changes in 3.9.1

Changes in 3.9.0

Changes in 3.8.0

Changes in 3.7.3

Changes in 3.7.2

Changes in 3.7.1

Changes in 3.7.0

Changes in 3.6.1

Changes in 3.6.0

Changes in 3.5

Changes in 3.4

Changes in 3.3

Changes in 3.2

Changes in 3.1

Changes in 3.0

Changes in 2.0