Skip to content

Instantly share code, notes, and snippets.

View braunglasrakete's full-sized avatar

braunglasrakete

View GitHub Profile
@braunglasrakete
braunglasrakete / Instagram Like Activity Deleter
Last active May 27, 2025 19:30 — forked from therealsarahw/instagram-like-activity-deleter.js
Instagram Like Activity Deleter: Automate the deletion of all your Instagram Likes from the 'Your Activity' section. Perfect for quick digital clean-up. For comments, see my other gist.
/**
* Instagram Like Removal Script – Enhanced Timing (2025)
* based on the comment activity deleter by sbolel, fixed and modified to work for likes as well
* important: UI language must be set to English for the script to work
*
* WARNING: This function directly manipulates the DOM and depends on the current HTML
* structure of Instagram's website to work. If Instagram implements changes to the
* activity page layout, structure, or functionality, this script may break or cause
* unexpected behavior. Use at your own risk and always review code before running it.
*
@braunglasrakete
braunglasrakete / Instagram Comment Activity Deleter
Last active May 27, 2025 19:30 — forked from sbolel/instagram-comment-activity-deleter.js
Instagram Comment Activity Deleter: Automate the deletion of all your Instagram comments from the 'Your Activity' section. Perfect for quick digital clean-up. Also works for story replies. For Likes, see my other project.
/**
* Instagram Comment Auto-Deletion Script
* original by sbolel, updated to work with current page layout as of April 2025
* keep batch size low to reduce risk of Instagram throwing the SOMETHING WENT WRONG error
* it waits a little before selecting comments on reload to not throw it out of loop
* it's still not perfect, it occasionally throws SOMETHING WENT WRONG, but better semi-automated than not working at all
* if you're getting the message that there are no comments to show and you didn't comment on anything,
* go back to Home, and comment on something, then come back
*
* important: UI language must be set to English for the script to work