Skip to content

Tiny lil' script to remove Facebook tracking data from jpg images downloaded from there

License

Notifications You must be signed in to change notification settings

Atulin/FB-Mangler

Repository files navigation

FB Mangler

Facebook loooooves tracking you, and even embeds their tracking codes inside of images uploaded there. Thankfully, removing them is a relatively simple matter, made even simpler with this tiny lil' script.

Usage

The easiest way is downloading this repo as *.zip, extracting it wherever and running py fbmangler.py. Do note, that there are a few requirements:

Or you can use the dist files and stuff if you want to use it as a library in your own piece of software. It's MIT, so go wild.

Notes

If you parse parsed files again, it will still show that tracking tokens got changed. That's because they're detected by the FBMD prefix, and the replacement codes also start with that. You can pretty easily tell that tokens aren;t original, because Facebook's tokens have a lot of 0s in them.

Why not just remove that data instead of mangling it? Well, removed data will do nothing to them, mangled data might just screw up an algorithm of theirs or two.

Also, the scipt leaves the old files as *.jpg~ and *.jpeg~ files. Remove the tilde if anything goes wrong and get your old file back. Or delete all those files after parsing is successful.

About

Tiny lil' script to remove Facebook tracking data from jpg images downloaded from there

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages