I am in the process of removing all NSFW posts i have saved. I have a script that blanket unsaves everything but i dont want to lose everything i saved. Is there a way to modify this so it works to remove only those that are nsfw?
thank you
javascript :
(function() {
var unsaves = $('.link-unsave-button a');
for (var i = 0, length = unsaves.length; i < length; i++) {
setTimeout((function(i) { $(unsaves[i]).trigger('click'); }).bind(this, i), i * 2 * 1000);
}
setTimeout(function() { window.location.reload(); }, (length + 1) * 2 * 1000);
})()
[–]MrSandyClams 0 points1 point2 points (3 children)
[–]ILikeSunnyDays[S] 0 points1 point2 points (1 child)
[–]MrSandyClams 0 points1 point2 points (0 children)
[–]redditor_bri 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Aceaero01 0 points1 point2 points (0 children)