-
-
Save syareez/a3ccfd9ce25f60442c8814d6db4f1280 to your computer and use it in GitHub Desktop.
Open up browser console, for Chrome, hit F12 and copy-paste and enter this | |
$("a").filter(function(index){return $(this).text()==="unsave"}).click();setTimeout(function(){location.reload();},500); | |
Repeat until all items are unsaved. |
Array.from(document.querySelectorAll("button")).forEach( (el) => { if (el.innerText === "unsave") el.click() })
Without jquery and reload, just to delete whatever you see on the "saved" page.
This still works as of 4/2023; only edit is the button text should be capitalized.
if (el.innerText === "Unsave") el.click()
I just had to refresh the page and rerun the function a couple times since Reddit does dynamic loading as you scroll
You should change that to "unsave", since that is the word it's used now for deleting saved posts. I pasted the command with the change:
$("a").filter(function(index){return $(this).text()==="unsave"}).click();setTimeout(function(){location.reload();},500);
This still works as of 5/2023 on old reddit!
@alwei1 Indeed it does—thanks for confirming!
Would there be any way to omit saves from a particular sub? I'd love to be able to clear out all of my saves except /r/dogpictures
Without jquery and reload, just to delete whatever you see on the "saved" page.