j0be / PowerDeleteSuite

Power Delete Suite for Reddit
1.63k stars 105 forks source link

Prevent the script from re-editing comments/posts that were edited in a prior run. #15

Open tmairegasnighto opened 4 years ago

tmairegasnighto commented 4 years ago

This is for users that edit, but do not delete.

The code could embed a hidden hash of the username into the comment and hide it visibly by preceding it with 16 carrots(^) - which makes it invisible.

When the script see this string, it aborts the edit.

This would also have a dramatic performance improvement for those not deleting.

dsl101 commented 1 year ago

I posted this elsewhere, but even just checking if the current content is the same as the edit box and not updating in that case would be a big win, given the use case for most people.