Topic: unfavouriting

Posted under General

Is there a script and/or a program that can be used to mass unfavourite items, If it's a script what do i need to use to make it work.

alsander_and_ciaran said:
Is there a script and/or a program that can be used to mass unfavourite items, If it's a script what do i need to use to make it work.

Well, you can search for "fav:Username tag", then change mode to Unfavorite. Where Username is your username and tag the thing you want to look for.

azero said:
Well, you can search for "fav:Username tag", then change mode to Unfavorite. Where Username is your username and tag the thing you want to look for.

Well I know that but what I want to remove is well over 200 posts, I just want to know if theres an automatic way of doing it without me manually doing it

When you are in your favorites and have listed all the posts you want to remove, switch to Unfavorite mode and use the following code to automatically click all the posts on page:

document.querySelectorAll('#page[class$=-fav] article.post-preview > a').forEach(a => a.click())
If you don't know how to run the code...

...here are the three ways of doing it:
(1) Paste the code in the address bar, then add javascript: at the beginning (you may need to type it manually) and press enter.
(2) Paste the code in the browser's console and press enter (how to open console ).
(3) Create a bookmarklet - add the code followed by javascript: to the browser as a bookmark and open it.

Once you run it, wait till the info popup disappears. Then reload the page and repeat until all done. It takes about 1 minute to process page with 75 posts. You can increase the number of posts per page in account settings.

I know it's not a perfect solution but I don't think there's much better way to do this. You can only request one post to be unfavorited at once and you can't send too many requests at a time because of rate limit.

ebea57 said:
When you are in your favorites and have listed all the posts you want to remove, switch to Unfavorite mode and use the following code to automatically click all the posts on page:

document.querySelectorAll('#page[class$=-fav] article.post-preview > a').forEach(a => a.click())
If you don't know how to run the code...

...here are the three ways of doing it:
(1) Paste the code in the address bar, then add javascript: at the beginning (you may need to type it manually) and press enter.
(2) Paste the code in the browser's console and press enter (how to open console ).
(3) Create a bookmarklet - add the code followed by javascript: to the browser as a bookmark and open it.

Once you run it, wait till the info popup disappears. Then reload the page and repeat until all done. It takes about 1 minute to process page with 75 posts. You can increase the number of posts per page in account settings.

I know it's not a perfect solution but I don't think there's much better way to do this. You can only request one post to be unfavorited at once and you can't send too many requests at a time because of rate limit.

Thank you

  • 1