Coder Social home page Coder Social logo

ares's Introduction

Nuke Reddit History Logo

ares

Browser Extension that automates api requests to overwrite & delete comments, delete posts on reddit.

Downloads

Chrome Extension

Firefox Add on

Requirements

  1. node
  2. npm

Setup

npm install

Build

npm run build

Load Extension in Chromium

  1. navigate to chrome://extensions/
  2. enable the Developer Mode toggle in the upper right corner
  3. click [Load unpacked extension..]
  4. navigate to /dist and click select.

Load Extension in Firefox

  1. navigate to about:debugging#/runtime/this-firefox
  2. click [Load Temporary Add-on]
  3. navigate to /dist and click select.

Support the dev

Bitcoin: 38w6mRC7ZyPnyQxmfiQCd6so3xhrmmZHgH

Patreon

ares's People

Contributors

sr33 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ares's Issues

Subreddit blacklist

A feature that lets you blacklist a subreddit or thread from being deleted would be great

Overwriting not always registering in record of deleted comments

After downloading my reddit data, I've notice that sometimes my data before overwriting is still cached.

I'm going out on a limb so assume that this is due to either:

  1. Reddit servers being busy and the edit not getting fully processed before the delete for some reason
  2. The edit failing, erroring, or skipping before deleting on client side

My first assumpton was that they were the posts Automod was deleting when you're trying to edit it, but I've checked all of those in my message box from automod has deleted every instance of an edit, leaving the edit intact.

Script gets caught in a loop when comments removed by reddit

If the comment is deleted by reddit (content says [Removed by Reddit], it goes into a loop stating "All Comments Deleted!" and then back to trying to delete the removed comment and others.

I'd imagine you can't edit the content of a "[Removed by Reddit]" comment, so it fails to detect a successful update. I manually deleted the comment and then the script proceeded normally.

Installation instructions for Linux?

Hello! I don't think your install instructions cover Linux. I tried sudo apt install npm but the result - and this may not be your fault - was:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Not deleting

Same problem others report. Comments don't all delete. It also seems to be moving painfully slow. If the display is any indication, its deleting and replacing one comment every 3-4 seconds. At that rate it would take eons to delete my 6 years of history. In any case I saw you ask about console errors. I have no idea what im doing in console but I see this popping up repeatedly:

Error: Request failed with status code 403
at e.exports (createError.js:16)
at e.exports (settle.js:17)
at XMLHttpRequest.d.onreadystatechange (xhr.js:59)

I don't have any extensions that should be conflicting. It eventually says it finishes and ive run the thing at least 10 times. It runs for 15-20 minutes again, says its finished, and its not.

It doesn't delete all comments

Hi,

I used this tool, then it says "All comment deleted" :
uv8MYg3

but I still have comments left. When I launch the tool again, it deletes more comments, but again it stops saying All comments deleted but there are still left.
If I have to restart the tool a hundred time there's no point

Can't build with new Node.js: digital envelope routines::initialization error

yamiodymel@DESKTOP:/mnt/c/Users/yamiodymel/Downloads/ares-master$ npm run build

> [email protected] build
> webpack --openssl-legacy-provider

/mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/loader-runner/lib/LoaderRunner.js:133
                if(isError) throw e;
                            ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:130:10)
    at module.exports (/mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/webpack/lib/util/createHash.js:90:53)
    at NormalModule._initBuildHash (/mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/webpack/lib/NormalModule.js:402:16)   
    at handleParseError (/mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/webpack/lib/NormalModule.js:450:10)
    at /mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/webpack/lib/NormalModule.js:482:5
    at /mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/webpack/lib/NormalModule.js:343:12
    at /mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/loader-runner/lib/LoaderRunner.js:214:10)    
    at iterateNormalLoaders (/mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/loader-runner/lib/LoaderRunner.js:221:10)    
    at /mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at context.callback (/mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/loader-runner/lib/LoaderRunner.js:111:13)        
    at makeSourceMapAndFinish (/mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/ts-loader/dist/index.js:88:5)
    at successLoader (/mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/ts-loader/dist/index.js:68:9)
    at Object.loader (/mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/ts-loader/dist/index.js:22:12)
    at LOADER_EXECUTION (/mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/loader-runner/lib/LoaderRunner.js:119:14)        
    at runSyncOrAsync (/mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/loader-runner/lib/LoaderRunner.js:120:4)
    at iterateNormalLoaders (/mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/loader-runner/lib/LoaderRunner.js:232:2)     
    at Array.<anonymous> (/mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/loader-runner/lib/LoaderRunner.js:205:4)        
    at Storage.finished (/mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:43:16)
    at /mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:79:9
    at /mnt/c/Users/yamiodymel/Downloads/ares-master/node_modules/graceful-fs/graceful-fs.js:90:16
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

The webpack is using old SSL protocol or whatever it is, can be temporarily fixed with

export NODE_OPTIONS=--openssl-legacy-provider

and run npm run build again.

related: webpack/webpack#14532

Feature request: delete comment history by CSV

I've been using your software for a while to remove my reddit history, however I've recently noticed that a large amount of comments hat are more than 4 years old are neither showing up on my profile or being removed. These comments however show up in the data dump "comment_headers.csv" that you can request from Reddit, with their URL and ID in the CSV. They also show up on google when queried. I'm interested in working with you to add a feature that allows you to delete comments by CSV, however I'm not all that familiar with Typescript or vue. I'm decently experienced with React, JavaScript, and php, but I'd enjoy helping maintain this repo.

Are you interested in having potential collaborators make PRs?

Extension deletes first 1000 comments sorted by `New`, leaving comments under `Hot`, `Top`, and `Controversial` sortings

The extension will delete the first 1000 comments when sorted by New
This appears to be everything, but if you sort again by Hot, Top or Controversial you will see much older comments are still there.

Sorting by New does not reload these comments.

A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
?efe2d409a42=f9ce4f81e6326:1 A cookie associated with a resource at http://google.com/ was set with `SameSite=None` but without `Secure`. A future release of Chrome will only deliver cookies marked `SameSite=None` if they are also marked `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5633521622188032.
ErrorHandling.js:44 Error: No slots provided to apstag.fetchBids
    at xe (apstag.js:3134)
    at apstag.js:3029
    at Array.map (<anonymous>)
    at Be (apstag.js:3027)
    at ErrorHandling.js:116
    at b (GDPR.js:421)
    at GDPR.js:347
    at e (GDPR.js:283)
    at t.GDPR (GDPR.js:276)
    at Le (apstag.js:3006)
m @ ErrorHandling.js:44
UI.ts:34 --: Nuke Reddit History initiated :--

Google Chrome is up to date
Version 78.0.3904.108 (Official Build) (64-bit)

Only deletes a few comments

The Extension deletes a few comments and declares "All comments deleted!". But there are still thousands of comments left.
A simple check at the end if actually all comments are deleted and running the script again if they aren't, could probably solve this problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.