1
0
Fork
You've already forked fbig-undo
0
Facebook+Instagram content deletion helper scripts
  • JavaScript 97.3%
  • Perl 1.9%
  • Makefile 0.8%
Eskild Hustvedt 3d2d845e4e commendts-and-reactions.js: Added support for unfriending
This is behind the flag window.FBIG_ALLOW_UNFRIEND and not allowed by default.
This required adaptations to _dialogs.js (which is shared between all the FB
scripts) and thus all of the files get rebuilt to make sure they're in sync,
even if the change only applies to comments-and-reactions.js
2025年01月25日 14:22:02 +01:00
src commendts-and-reactions.js: Added support for unfriending 2025年01月25日 14:22:02 +01:00
comments-and-reactions.js commendts-and-reactions.js: Added support for unfriending 2025年01月25日 14:22:02 +01:00
COPYING.md Initial commit 2024年06月16日 11:21:48 +02:00
insta-interactions.js Reformatted with prettier 2024年06月16日 11:25:08 +02:00
Makefile Added a prettier target 2025年01月11日 14:11:04 +01:00
mass-comments-and-reactions.js commendts-and-reactions.js: Added support for unfriending 2025年01月25日 14:22:02 +01:00
mass-unfollow.js Added mass-unfollow.js 2025年01月11日 15:15:05 +01:00
messenger-deleter.js commendts-and-reactions.js: Added support for unfriending 2025年01月25日 14:22:02 +01:00
README.md commendts-and-reactions.js: Added support for unfriending 2025年01月25日 14:22:02 +01:00

FBIG-undo

Scripts to assist with removing content from Meta services

Meta has, rather successfully, made it as hard as possible to remove content from Facebook and Instagram. Many tools only let you remove one thing at a time, and those that do let you mass-delete have arbitrary limits and require a lot of manual work.

These scripts attempt to make that a bit easier. They can, to a certain degree, automate the process. There are "abuse detection" triggers in place, however, so if you have an account with a lot of content you're going to need to run the script(s) multiple times spread across multiple days.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Usage

First off, these scripts are made to be run from the browser console. You should never run untrusted scripts from your browser console. Read through the scripts before you paste them into the console, to make sure you can trust them. Untrusted scripts can easily steal data.

Prerequisites for all scripts

They make the assumption that Facebook/Instagram is in English. You'll need to either temporarily switch it over to English, or modify the scripts, if you use other languages. You can use filters in the activity log to have the scripts only act on certain years/dates. The scripts should honour those choices and not modify them.

FB: mass-comments-and-reactions.js

This script is meant to run in the "activity log". Any page that lets you select multiple items and then delete them should work. Paste it and it'll start. It tries its best to detect errors and account for them. In time you will get ratelimited if you delete a lot, and at that point you'll just need to wait until you can try again. This script supports filtering entries. Set window.fbig_filter_text to a regular expression object, and it will try to skip entries matching that regex. This is not foolproof.

Use the function abort() if you want to stop the script, or just reload the page.

FB: comments-and-reactions.js

This is similar to the above script, and is used in the "activity log" but this is intended to run on pages where you can only act on one item at a time. For instance in the "event responses" page.

You can also use this script to remove all of your friends on your connections -> friends page of the activity log. To allow it to unfriend you need to first set window.FBIG_ALLOW_UNFRIEND to true;

FB: messenger-deleter.js

This will delete all conversations that are one year and older from messenger. You need to set window.YES_DELETE_ALL_MESSAGES_ONE_YEAR_AND_OLDER to true for this script to run, since there's no real way to filter.

FB: mass-unfollow.js

This can be used to unfollow many pages at once. It's used in the "unfollow" box that appears when you go to your profile in the top right, select settings then content preferences, then unfollow. This script supports filtering entries. Set window.fbig_filter_text to a regular expression object, and it will try to skip entries matching that regex. This is not foolproof.

IG: insta-interactions.js

This is an Instagram variant of "mass comments and reactions".

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.