Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Roblox Mass Group Leaver

A simple but powerful Chrome extension that allows you to leave all of your Roblox groups with a single click.

Features

  • One-Click Operation: Leave all joined groups with a single button click.
  • Real-Time Feedback: Watch the progress in real-time as the extension works through your group list.
  • Safe for Owners: The extension automatically detects and skips groups where you are the owner, as Roblox API prevents this action.
  • Lightweight: Minimalistic and focused on doing one job well.

How to Use

  1. Make sure you are logged into your Roblox account on roblox.com.
  2. Click the extension icon in your Chrome toolbar to open the popup.
  3. Click the "Leave All Groups" button.
  4. The extension will start leaving your groups one by one. You can see the progress in the status window.
  5. Wait for the "All groups have been left." message to appear. The process is complete!

Installation for Users & Developers

Since this is an open-source project, you can load it directly into Chrome.

  1. Download the Code

    • Click the "Code" button on this GitHub repository and select "Download ZIP".
    • Extract the contents of the ZIP file to a folder on your computer.
  2. Load the Extension in Chrome

    • Open Google Chrome and navigate to chrome://extensions.
    • In the top-right corner, enable the "Developer mode" toggle.
    • Click the "Load unpacked" button that appears on the top-left.
    • Select the folder where you extracted the extension files (the folder that contains manifest.json).
  3. Ready to Go!

    • The "Roblox Mass Group Leaver" extension icon will appear in your Chrome toolbar. You can pin it for easy access.

How It Works (Technical Overview)

The extension operates through a background service worker (background.js) to handle the API requests without freezing the user interface.

  1. Get User ID: It first fetches the authenticated user's ID from the https://users.roblox.com/v1/users/authenticated endpoint.
  2. Fetch Groups: It uses the User ID to get a complete list of groups the user is a member of via the https://groups.roblox.com/v2/users/{userId}/groups/roles endpoint.
  3. Get CSRF Token: To perform actions like leaving a group, a valid X-CSRF-TOKEN is required. The extension obtains this by making a preliminary request to an authenticated endpoint (https://auth.roblox.com/v2/logout) and extracting the token from the response headers.
  4. Leave Groups: The extension iterates through the group list and sends a DELETE request to https://groups.roblox.com/v1/groups/{groupId}/users/{userId} for each group, including the CSRF token in the headers.
  5. Status Updates: Throughout the process, the background script sends messages to the popup UI (popup.js) to display real-time status updates.

File Structure

  • manifest.json: Defines the extension's properties, permissions, and files.
  • background.js: The service worker that runs in the background and contains all the logic for interacting with the Roblox API.
  • popup.html: The HTML structure for the extension's popup window.
  • popup.js: Handles user interaction in the popup, like button clicks, and displays status messages received from the background script.
  • popup.css: Styles the popup window.
  • images/: Contains the icons for the extension.

Contributing

Contributions are welcome! If you have ideas for improvements or find a bug, please feel free to open an issue or submit a pull request.

Disclaimer

This extension is an open-source project and is not affiliated with Roblox Corporation. Use it at your own risk. The extension works by interacting with Roblox's web APIs, which could change at any time and break its functionality.

About

mass group leaving for roblox

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages